Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2003 10:31:32 -0800
From:      "Rev. Joe Doyle Ardent" <ardent@nebcorp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: can't pipe to  /dev/null ?
Message-ID:  <20030319183132.GA12094@nebcorp.com>
In-Reply-To: <5.2.0.9.0.20030319120816.02e98488@mail.go2france.com>
References:  <5.2.0.9.0.20030319111153.02415060@mail.go2france.com> <5.2.0.9.0.20030319111153.02415060@mail.go2france.com> <5.2.0.9.0.20030319120816.02e98488@mail.go2france.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 19, 2003 at 12:09:31PM -0600, Len Conrad wrote:
> 
> >I think variant with cat is better, if you want without it
> >better will be
> >devnull: /dev/null
> 
> the latter works, thanks, Nik,
> 
> If you you have a minute, say why the cat step is better than just /dev/null
> 
	Because /dev/null is not a program (it's a file), and cat is.  
You should only pipe to programs.


-Joe

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030319183132.GA12094>