On Tue, Aug 18, 2009 at 4:55 PM, Uriel<urie...@gmail.com> wrote:
> Interesting, this reminds me of a question I had: is there any command
> that would read from stdin, and write to stdout, but if there was an
> error when writing to stdout it would ignore it and continue reading
> stdin? It is trivial to do it in C, but don't want to require an extra
> program just to keep werc's error logs clean of spurious noise.
>
> I guess based on what you said, that I might be able to use sed, but
> only until your complaint is fixed :)
>
> uriel
>

I am not sure by your description, it looks to me like you want either:

{cat || cat > /dev/null}

or

while(;){
      cat
}

-- 
- curiosity sKilled the cat

Reply via email to