The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #9 (permalink)  
Old 12-10-2004
Lomic Lomic is offline
Registered User
 

Join Date: Dec 2004
Location: Paris
Posts: 20
Quote:
Originally posted by zazzybob
I think I'd rather use sed than vi
Code:
sed "/blabla\ 'toto'\ rep:\/titi\/toto\//d" infile > outfile
Notice that quoting and escapes have changed here...
ok, and like this, is it ok for the allways unknown start of the line (*) ?

and is it possible without trouble that infile=outfile?
Reply With Quote