home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!lll-winken!sol.ctr.columbia.edu!eff!iWarp.intel.com|inews.Intel.COM!inews!pinkas
- From: pinkas@caraway.intel.com (Israel Pinkas)
- Newsgroups: comp.unix.msdos
- Subject: Re: Devices in dos
- Message-ID: <PINKAS.92Aug19143141@caraway.intel.com>
- Date: 19 Aug 92 22:31:41 GMT
- References: <1992Aug19.132749.23971@eagle.lerc.nasa.gov>
- Sender: news@nntp-sc.Intel.COM (USENET News System)
- Distribution: usa
- Organization: Software Technologies, INTeL Corporation, Santa Clara, CA
- Lines: 16
- In-Reply-To: dmartin@hopper3.lerc.nasa.gov's message of 19 Aug 92 13:27:49 GMT
- Nntp-Posting-Host: caraway
-
- In article <1992Aug19.132749.23971@eagle.lerc.nasa.gov> dmartin@hopper3.lerc.nasa.gov (David Martin) writes:
-
- 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.
-
-
- What's wrong with the DOS device NUL:. This does exactly what Unix'
- /dev/null does.
-
- --
- Disclaimer: The above are my personal opinions, and in no way represent
- the opinions of Intel Corporation. In no way should the above be taken
- to be a statement of Intel.
-