home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!ucsbcsl!network.ucsd.edu!usc!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!eagle!hopper3.lerc.nasa.gov!dmartin
- From: dmartin@hopper3.lerc.nasa.gov (David Martin)
- Newsgroups: comp.unix.msdos
- Subject: Devices in dos
- Message-ID: <1992Aug19.132749.23971@eagle.lerc.nasa.gov>
- Date: 19 Aug 92 13:27:49 GMT
- Sender: news@eagle.lerc.nasa.gov
- Distribution: usa
- Organization: NASA Lewis Research Center
- Lines: 15
- Nntp-Posting-Host: hopper3.lerc.nasa.gov
-
- This is a pretty simple question. I want to create a device similar to
- /dev/null on unix. Can it be done? I have tried to make a program to
- dump stdin until EOF, but I have to do a pipe instead of a redirection.
- i.e. command | devnull instead of command > devnull
- My application treats these differently, don't ask me why.
-
- Email prefered. :)
- --
- |-------------------------------------------------------------------------|
- | o : David M. Martin /\/ : o |
- | : Computer Associate Silent... : |
- | o : Sverdrup/NASA LeRC | but deadly : o |
- | : dmartin@hopper3.lerc.nasa.gov # rm -rf /* & : |
- | o : CompuServe: 70244,2712 \/\ : o |
- |-------------------------------------------------------------------------|
-