Soren Aalto on Thu, 1 Mar 2001 11:53:02 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GLUG: Is this possible?


> 
> Morning All,
> 
> Is there a simple way to do the following?
> 
> 
> grep string1 myfile | grep string2 | <delete that line from the file>

grep string1 myfile | grep -v string2 >new_file_without_offending_line

...I think 

--
Soren Aalto <soren@xxxxxxxxxxxxxxx>
Internet guy, University of Zululand 
If Bill Gates had a nickel for every time
Windows crashed...oh wait, he does.