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
