[ale] Shell scripting

Jan Mason jan.mason at xmtc.net
Sat Feb 8 14:57:24 EST 2003


cat file_name.txt | egrep -v "keyword" > new_file_name.txt

Jim wrote:
> On Saturday 08 February 2003 01:48 pm, Thomas Holmquist wrote:
> 
>>Im writing a shell script that will put unique lines of text in a file
>>
>>then I want to be able to delete the lines of text that contain a certan
>>keyword, how would I do this?
> 
> 
> Haven't used it in a while, but I believe awk would handle this with the 
> fewest lines and greatest efficiency.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 
> 


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list