Re: quickie UNIX command

Subject: Re: quickie UNIX command
From: Gawain Reifsnyder (
Date: Thu May 17 2001 - 11:10:08 MDT

At 1:06 PM -0400 on 5/17/01, cdowns wrote:

>>I want to remove files in a directory on my YDL machine that contain
>>a certain string. I think I'm getting close but no cigar... I'm
>>thinking it's something like:
>>rm | grep -l 'search string' *
>>Any hints?
>cat <filename> | grep -v "string_name" >> <newfile>
>and it will be stripped and a new file created .

Thanks Chris! I don't want to strip the string, though. I want to
delete the file containing the string. Or perhaps I'm not
understanding your message...

This archive was generated by hypermail 2a24 : Thu May 17 2001 - 10:14:43 MDT