Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!emory!hubcap!ncrcae!ncr-sd!se-sd!rns From: rns@se-sd.SanDiego.NCR.COM (Rick Schubert) Newsgroups: comp.unix.shell Subject: Re: pipe equivalent to /dev/null ??? Message-ID: <3841@se-sd.SanDiego.NCR.COM> Date: 11 Sep 90 19:52:52 GMT References: <8720001@hpdmd48.boi.hp.com> Organization: NCR Corporation, Systems Engineering - San Diego Lines: 25 In <8720001@hpdmd48.boi.hp.com> oscarh@hpdmd48.boi.hp.com (Oscar Herrera) writes: >Is there an equivalent 'pipe' like entity to /dev/null ? >What I'd like to do is something like this > anycommand | bitbucket I've seen responses of anycommand | true and anycommand | cat >/dev/null What about anycommand | : ? I'm not sure if this is shell-specific, but it works with the Bourne shell and the C shell, at least on our system. (You mean you thought ":" was a comment indicator? Try : > somefilename ) -- Rick Schubert (rns@se-sd.sandiego.NCR.COM)