pipe equivalent to /dev/null ???

David Brooks dbrooks at osf.org
Wed Sep 12 00:40:02 AEST 1990


In article <1990Sep11.013805.3594 at chinet.chi.il.us>,
les at chinet.chi.il.us (Leslie Mikesell) writes:
|> In article <8720002 at hpdmd48.boi.hp.com> oscarh at hpdmd48.boi.hp.com
(Oscar Herrera) writes:
|> 
|> >||Is there an equivalent 'pipe' like entity to /dev/null ?
|> A more reasonable method would be to use "|cat >/dev/null", though
the
|> result is the same as a simple ">/dev/null".

If you want to save keystrokes at the expense of compute time:

	|sed d

Not relevant if you are putting it in a script, though.

(several :-), by the way).
-- 
David Brooks				dbrooks at osf.org
Systems Engineering, OSF		uunet!osf.org!dbrooks
Experience Hackvergnuegen!



More information about the Comp.unix.shell mailing list