[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Shell scripting
- Subject: [ale] Shell scripting
- From: jan.mason at xmtc.net (Jan Mason)
- Date: Sat, 08 Feb 2003 14:57:24 -0500
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