tech-kern archive

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

Re: SIGPIPE-equivalent before writing?



Johnny Billquist writes:
> find / -name foobar | tee check.log | more
>
> And then after a while I get bored and quit more. Should the tee be 
> killed then, and in turn the find?

Since all these cases seem to be interactive, maybe it would be
better to handle this in the shell.  Add a shell option that
kills the entire pipeline when the last process in the pipeline
dies.

--lyndon


Home | Main Index | Thread Index | Old Index