10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I have a file (filename.txt) with some data (in two columns X and Y) which looks like this:
##########
'Header1'
'Sub-header1'
X Y
xxxx.xx yyyy.yyy
xxxx.xx yyyy.yyy
.... ...
'Sub-header2'
X Y
xxxx.xx ... (7 Replies)
Discussion started by: jaldo0805
7 Replies
2. Shell Programming and Scripting
In a file i have a data like
INPUT:
no,name,company
1,vivek,hcl
2,senthil,cts
1,narsi,hcl
4,prabhakaran,ibm
OUTPUT:
1,vivek,hcl
1,narsi,hcl
Using AWK command i want to display the names those having no:1 and company:hcl.Please tell me the command to display above result. (8 Replies)
Discussion started by: katakamvivek
8 Replies
3. Shell Programming and Scripting
i have a following output file
PF Release 2.4 on SERVICE at Mon Feb 6 18:41:02 2012
---------------------------------------- ----------------
|pPF |SEP |CAPS |CALLS |OPEN |
|-------------------------------------------------------------|
| 0 ---... (1 Reply)
Discussion started by: gauravah
1 Replies
4. Programming
Hi,
Whether the following piece of code is placed in the read-only memory of code (text) segment or data segment?
char *a = "Hello";
I am getting two different answers while searching in google :( that's why the confusion is (7 Replies)
Discussion started by: royalibrahim
7 Replies
5. UNIX for Dummies Questions & Answers
Hi. Im new to UNIX also in programming language which in need help to output like what was I indicated using either awk shell programming or combination of some commands. Correct me if im in the wrong section. Thanks in advance.
Input
101 The quick brown fox jumps over the lazy dog
99... (9 Replies)
Discussion started by: bankai29
9 Replies
6. Shell Programming and Scripting
I need to extract columns but the way it should be stored in a file is different.I can simply do a
cut -f3,2 filename
but the problem is even if i do it so and the values in column 2 are string then col 2 would be appear before col3
I tried awk but using the substr i think its not possible to... (8 Replies)
Discussion started by: dinjo_jo
8 Replies
7. AIX
Hi guys,
Are all users authorised to modify the data segment and stack segment to unlimited on AIX?
Is a reboot required after giving ulimit -d unlimited?
Thanks
vandi (2 Replies)
Discussion started by: vandi
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
as per my Unix admin all parameters in Ulimit are set to Unlimited in Hard limits but some how few profiles setting data segment part to limited number value. So i wanted to over write in my profile to set unlimited as hard limits are set to unlimited. What is the command to set ulimit for... (1 Reply)
Discussion started by: terala_s
1 Replies
9. Shell Programming and Scripting
Hey all, could someone please direct me on how to extract a segment from a file between two tags? Thanks! (1 Reply)
Discussion started by: mpang_
1 Replies
10. Programming
Hi
1) Please go through the following code :
char string2;
char string1;
main()
{
memcpy(string2,"SENDER ",12);
strcpy(string1,"******");
printf("%s\n%s\n",string1,string2);
}
2) and the output of... (7 Replies)
Discussion started by: karimulla_sha
7 Replies