remove a string from a file using grep





7
Date Submitted Fri. Jul. 20th, 2007 11:49 PM
Revision 1 of 1
Helper lavaramano
Tags "remove string" | cli | console | gnu/linux | Grep
Comments 1 comments
how to remove a string from a plain text using just grep.

grep -v "S T R I N G" file > /tmp/my_tmp_file && mv /tmp/my_tmp_file file
 

mauro l

lusers.com.ar/
______________________
// a sphincter says what?

Comments

Comments you'll remove a bit more
Wed. Aug. 15th, 2007 5:18 AM    Newbie altahir

Voting