Xref: utzoo comp.unix.questions:9284 comp.bugs.4bsd:997 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions,comp.bugs.4bsd Subject: more unix jokes - /dev/null Keywords: poor man's Unix Message-ID: <1414@star.cs.vu.nl> Date: 19 Sep 88 11:53:53 GMT References: <8488@smoke.ARPA> <26090@ucbvax.BERKELEY.EDU> <1049@sybase.sybase.com> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 17 If one wants to run a command with output getting discarded, the obvious solution is: command > /dev/null But what would you do if you happened to have no such device? :-) Is the intended still possible? Yes! (Better use the Bourne shell.) command 1< /etc/passwd 2<&1 :-) -- Alles klar, |Maarten Litmaath @ Free U Amsterdam: Herr Kommissar? |maart@cs.vu.nl, mcvax!botter!maart