View Single Post
  #3   (View Single Post)  
Old 22nd September 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
Join Date: Apr 2008
Location: pwd
Posts: 283

I knew there must be one

Actually, I tested both 6.3 and 7.0. "-i" or "-I" switch isnt enough, sed needs "-e" (edit) as well to make it work

Is there any catch? I see ppl tend to dump the output to a temp file, rather than edit the file on the fly :S
The power of plain text? It can control an entire OS
Reply With Quote