Results 1 to 2 of 2
Originally Posted by scottro
sed 's/$/;/' filename
The s means substitute
The $ in this particular regex (regular expression) means end of the line.
The ; is what you're subbing.
...
- 08-10-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 5
- 08-11-2010 #2
Did you try with escape characters ?
sed 's/$/\//g' file.txt- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------



Reply With Quote