tech-kern archive

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

Re: SIGPIPE-equivalent before writing?



> 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?

A good thought-provoking example.  Thank you.

Is there value in saving the filename (or, if found fast enough, the
first bufferful) found after you quit more in check.log before SIGPIPEs
take down the find and tee processes?

I could argue that either way.  Hmm.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index