Path: utzoo!utgpu!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!pasteur!ucbvax!unisoft!greywolf From: greywolf@unisoft.UUCP (The Grey Wolf) Newsgroups: comp.unix.questions Subject: Re: more unix jokes - /dev/null Message-ID: <1303@unisoft.UUCP> Date: 28 Sep 88 20:59:23 GMT References: <8488@smoke.ARPA> <26090@ucbvax.BERKELEY.EDU> <1049@sybase.sybase.com> <1414@star.cs.vu.nl>Reply-To: greywolf@unisoft.UUCP (The Grey Wolf) Lines: 27 In article <7104@rpp386.Dallas.TX.US> jfh@rpp386.Dallas.TX.US (The Beach Bum) writes: # In article <8572@smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: # >In article <1247@imagine.PAWL.RPI.EDU> kyriazis@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?) Funny, I don't have any problems with piping something like cat /etc/passwd | /bin/true... no errors, no bad status, no nothing. except for one extra newline, if that counts... # -- # John F. Haugh II (jfh@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 -- " "Does anyone have a spare 40 Gig board for my mind?" Roan Anderson, Software Engineer^H^H^H^H^H^H^H^HRejiggerer, UniSoft Corp. Emeryville, CA (415) 420-6400 /* the above views are not company policy, they are my opinions */