Search Results

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: RohitSahni ; Forum: Shell Scripting and child forums
Forum: Shell Scripting Oct 1st, 2008
Replies: 5
Views: 2,162
Posted By RohitSahni
Here's the solution..
awk -F"~" '{printf("%-15s%s~%s\n", $1,$2,$3)}' inputfile
ID1 Name1~Place1
ID2 Name2~Place2
ID3 Name3~Place3

Thanks guys for your help..
Forum: Shell Scripting Oct 1st, 2008
Replies: 5
Views: 2,162
Posted By RohitSahni
i am using vi editor,....and want to send the file genrated as a mail...and want it to be in proper format
Forum: Shell Scripting Oct 1st, 2008
Replies: 5
Views: 2,162
Posted By RohitSahni
mY QUERY IS RELATED TO..

How can i set coloumn width in unix...

Like for ex. i am having a file, whose content is like

------------------------------
aba bba baba
abba baba ...
Forum: Shell Scripting Jan 18th, 2008
Replies: 5
Views: 1,142
Posted By RohitSahni
output:

$ tr "/v23.9" "/ABCDE" < test.txt
ABC
-p /home/user/a/b/ABCDE/library -l /home/user/a/b/ABC/ABCDE testDexe
DEF
-r ABCDE /c/d/f -p /home/user/a/b/ABCDE/library -l...
Forum: Shell Scripting Jan 18th, 2008
Replies: 5
Views: 1,142
Posted By RohitSahni
yup man i did tried this...but not working..
Forum: Shell Scripting Jan 18th, 2008
Replies: 5
Views: 1,142
Posted By RohitSahni
Hi all,

The scenario is like this: i have one file which contains some particular paths, now my aim is to make changes in this file so that i can change the path in that file.. eg:

file1.txt: ...
Forum: Shell Scripting Nov 27th, 2007
Replies: 1
Views: 857
Posted By RohitSahni
Hi All,

My query is related to assinging a variable with value which is there in the env.

Suppose from my c++ code i am doing putenv("A=abc"), now wat i want to do is to get this value of A in...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC