Home » Infrastructure » Unix » Appending a value at the end of each line
Appending a value at the end of each line [message #296876] Tue, 29 January 2008 06:54 Go to next message
bhalotias
Messages: 12
Registered: January 2008
Junior Member
Hi,

Can anyone tell me how to add (append) a value at the end of each line of a flat file, using ksh shell script.

Regards,
Saurabh
Re: Appending a value at the end of each line [message #296894 is a reply to message #296876] Tue, 29 January 2008 07:19 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
This is not an Oracle question.

Regards
Michel
Re: Appending a value at the end of each line [message #296981 is a reply to message #296876] Tue, 29 January 2008 16:19 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
Hint...
	man sed
Re: Appending a value at the end of each line [message #297114 is a reply to message #296981] Wed, 30 January 2008 03:29 Go to previous message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

Double Hint

echo '1;2;3;4' | sed 's/$/|/'
1;2;3;4|
Previous Topic: Passing arguments to Sql Loader (merged)
Next Topic: VI EDITOR
Goto Forum:
  


Current Time: Sun Dec 08 06:19:58 CST 2024