From IT Mission Linux Tips, Hacks, Tutorials, Howtos - Itmission.org
Main: HowToEditFileUsingSed-SedIsAStreamEditor
Sed Tips and Tricks.
basil@basil:~$ sudo sed -e 's/\edgy/ feisty/g' -i /etc/apt/sources.list
The above line changes the name edgy to feisty with a space in front of feisty.
Retrieved from http://www.itmission.org/Main/HowToEditFileUsingSed-SedIsAStreamEditor
Page last modified on May 31, 2007, at 04:10 PM