View Single Post
  #9   (View Single Post)  
Old 10th March 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
Join Date: Apr 2008
Location: Indonesia
Posts: 2,218

I don't understand the purpose of "-e.orig" option for SED. What command should be executed there?
It should be -i.orig, it edits files in place saving a backup to <file>.orig
Sorry for the typo.

Note you may also need to escape the plus signs (\+ instead of +) in the search pattern ... Not sure and I can't try it (Recently moved, no internet yet, mostly Windows at work ...).
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote