more unix jokes - /dev/null

The Beach Bum jfh at rpp386.Dallas.TX.US
Mon Sep 26 07:23:33 AEST 1988


In article <8572 at smoke.ARPA> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>In article <1247 at imagine.PAWL.RPI.EDU> kyriazis at turing.cs.rpi.edu (George Kyriazis) writes:
>>	command | vax
>
>No, the pipe will constipate since the "vax" command (equivalent to :)
>does not read its input.

No, the command will abort with SIGPIPE.  the vax command will exit,
leaving no reader on the pipe.  the first time command goes to write
to its stdout, a SIGPIPE will result.  (one may presume command will
eventually write, otherwise what was there to send to /dev/null?)
-- 
John F. Haugh II (jfh at rpp386.Dallas.TX.US)                   HASA, "S" Division

      "Why waste negative entropy on comments, when you could use the same
                   entropy to create bugs instead?" -- Steve Elias



More information about the Comp.unix.questions mailing list