The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 4 of 4
Search took
0.00
seconds.
Search:
Posts Made By:
ruthless
Forum:
HP-UX
01-20-2006
6
Add a column at the end of all the lines in a file
10,172
Posted By
ruthless
Hi,
Actually I did mistake while posting the code I was using. This is the code I am using. Only diff is there's no $ sign before "file".
#!/bin/ksh
file="/A/B/C/D/E/"mat.dtd
sed...
Forum:
HP-UX
01-20-2006
6
Add a column at the end of all the lines in a file
10,172
Posted By
ruthless
Hi Mona,
The exact script what I tested is
#!/bin/ksh
$file="/A/B/C/D/E/"mat.dtd
sed 's/^\(.*\)$/&\|D/' mat.dtd > $file_temp
mv "$file_temp" "xdm.dtd"
and the output I am getting is(as on the screen) ...
Forum:
HP-UX
01-19-2006
6
Add a column at the end of all the lines in a file
10,172
Posted By
ruthless
Hi Guys
Thank you very much for helping me.
Mona[COLOR=Blue] , I have couple of questions for you . When I append "|D" at the end of the line, does it replaces the "$" which is the end of the line or just...
Forum:
HP-UX
01-18-2006
6
Add a column at the end of all the lines in a file
10,172
Posted By
ruthless
Add a column at the end of all the lines in a file
Hi Guys, :D
I am very much new to UNIX. I dont have much basics of coding in UNIX, so please help me out of thi ssituation.
I have a file say for ex: ABC.dtd and it contains "|" delimited...
Showing results 1 to 4 of 4
Member Badges and Information Modal
×