bug-grep
[Top][All Lists]
Advanced

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

Re: Bug#454690: "grep -v" alway returns 0


From: Wacek Kusnierczyk
Subject: Re: Bug#454690: "grep -v" alway returns 0
Date: Sun, 29 Mar 2009 22:01:35 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Eduard Bloch wrote:
> #include <hallo.h>
> * Wacek Kusnierczyk [Sun, Mar 29 2009, 06:51:43PM]:
>
>   
>> maybe i can help a little.
>>     
>
> Yeah, nice lesson Mr. Teacher, 

how kind...

> but I did not ask for help. It's
> obviosuly working correctly (if you follow the book manpage) but the
> result is not very practical.
>
> Simple use case:
>
> if do | some | thing | grep -v patternOfSuspiciousStuff > clean_file ; then
>    ...
>
> I want to receive filtered output _and_ receive a return code which
> tells me whether anything has been filtered in the pipe or not. 

if you learn to ask for help, you're more likely to get a nice solution.

vQ




reply via email to

[Prev in Thread] Current Thread [Next in Thread]