🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1046

Re: pipe equivalent to /dev/null ???

#1046
From: Randal Schwartz
Date: Tue, 11 Sep 1990 20:13
41 lines
1672 bytes
In article <8720002@hpdmd48.boi.hp.com>, oscarh@hpdmd48 (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
| ||
| ||Oscar Herrera
| ||----------
| 
| 	Well, I found the answer to my own question.
| 
| 		touch bitbucket
| 		chmod +x bitbucket
| 
| 	Then    
| 		ll | bitbucket      
| 
| 	works well.

Until the ll output pipe fills up.

My first suggestion is "why?"  For example, if I wanted the ll
output to go nowhere, I would type:

	ll >/dev/null

Second, if you *really* need a process, use

	cat >/dev/null

as in:

	ll | cat >/dev/null

yucky yucky kludge.  But it fits your requested parameters.

Just another Unix hacker,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/
Technical Details
Message-ID: <1990Sep11.201316.16028@iwarp.intel.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!ucbvax!iwarp.intel.com!news
References: <8720001@hpdmd48.boi.hp.com> <8720002@hpdmd48.boi.hp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!ucbvax!iwarp.intel.com!news
From: merlyn@iwarp.intel.com (Randal Schwartz)
Newsgroups: comp.unix.shell
Subject: Re: pipe equivalent to /dev/null ???
Message-ID: <1990Sep11.201316.16028@iwarp.intel.com>
Date: 11 Sep 90 20:13:16 GMT
References: <8720001@hpdmd48.boi.hp.com> <8720002@hpdmd48.boi.hp.com>
Sender: news@iwarp.intel.com
Reply-To: merlyn@iwarp.intel.com (Randal Schwartz)
Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA
Lines: 41
In-Reply-To: oscarh@hpdmd48.boi.hp.com (Oscar Herrera)