Article View: news.software.readers
Article #16008Re: how do I get it?
From: Greg Berigan
Date: Mon, 13 Mar 1995 21:39
Date: Mon, 13 Mar 1995 21:39
28 lines
2185 bytes
2185 bytes
In news.software.readers, jporter@elara.btg.com (John Porter) writes:
>Greg Berigan <gberigan@cse.unl.edu> wrote:
>>The problem is that /dev/null is for output, not input. You use
>>/dev/zero for reading. Thus:
>>
>> cat /dev/zero >/dev/null
>>
>>A common mistake.
>According to the Sun 4.1 man pages:
AAAAARRRRGGGGGHHHHH!!!!!! Why can't people read the whole thread before
responding!!!
>So, while /dev/zero may do what you say it does, I don't
>think that's what it was intended for.
>And your assertion that "/dev/null is for output, not input" is false.
But doing cat /dev/null is like inhaling through a vacuum cleaner hose.
There's no point to it, which is why I recommended using /dev/zero.
--
----' gberigan@cse.unl.edu (Greg Berigan)
------,
,-|-, "Some say he's the devil himself." "I heard he was _
----' '-' a giant chicken!" -- Highlander Boo: The Chickening d b CC
Technical Details
Message-ID:
<3k2e1l$aos@crcnis3.unl.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!news.rz.uni-ulm.de!zib-berlin.de!news.mathworks.com!news.duke.edu!news-feed-1.peachnet.edu!gatech!psuvax1!news.ecn.bgu.edu!newspump.wustl.edu!crcnis3.unl.edu!cse!gberiganReferences:
<3iv8uv$9vi@usenet.srv.cis.pitt.edu> <3javk0$l8k@fcca.fcca.csi.com> <3jdm0q$e0j@crcnis3.unl.edu> <PMCLEAN.95Mar6110448@virgo.drao.nrc.ca> <3k1v88$3g9@elara.btg.com>Show Full Headers
Complete Article Headers
Message-ID: <3k2e1l$aos@crcnis3.unl.edu> Subject: Re: how do I get it? Date: Mon, 13 Mar 1995 21:39:01 +0000 From: gberigan@cse.unl.edu (Greg Berigan) References: <3iv8uv$9vi@usenet.srv.cis.pitt.edu> <3javk0$l8k@fcca.fcca.csi.com> <3jdm0q$e0j@crcnis3.unl.edu> <PMCLEAN.95Mar6110448@virgo.drao.nrc.ca> <3k1v88$3g9@elara.btg.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!news.rz.uni-ulm.de!zib-berlin.de!news.mathworks.com!news.duke.edu!news-feed-1.peachnet.edu!gatech!psuvax1!news.ecn.bgu.edu!newspump.wustl.edu!crcnis3.unl.edu!cse!gberigan Newsgroups: alt.sources.d,comp.lang.perl,comp.lang.tcl,news.misc,news.software.readers,alt.folklore.computers Followup-To: alt.folklore.computers Organization: University of Nebraska--Lincoln Lines: 27 NNTP-Posting-Host: cse.unl.edu X-Newsreader: TIN [version 1.2 PL2] Originator: gberigan@cse.unl.edu