TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:2828] ungrep



grep -v dontshowthis file

On Tue, 15 Dec 1998, Ben Luey wrote:

> Is there a way to display every line of a file that doesn't contain X?
> Something like:
> 
> `ungrep X file`
> 
> or 
> 
> `grep '! X' file`
> 
> 
> Thanks,
> 
> Ben
> 
> Ben Luey
> lueyb@carleton.edu
> ICQ: 19144397
> 
> I am not a vegetarian because I love animals, I am a vegetarian because I hate
> plants.        -- Unknown
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com
>