From owner-freebsd-questions Wed Mar 19 10:34:13 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 887DA37B404 for ; Wed, 19 Mar 2003 10:34:12 -0800 (PST) Received: from ratchet.nebcorp.com (ratchet.nebcorp.com [205.217.153.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AA2243F3F for ; Wed, 19 Mar 2003 10:34:10 -0800 (PST) (envelope-from ardent@nebcorp.com) Received: by ratchet.nebcorp.com (Postfix, from userid 1001) id 853223A1E4; Wed, 19 Mar 2003 10:31:32 -0800 (PST) Date: Wed, 19 Mar 2003 10:31:32 -0800 From: "Rev. Joe Doyle Ardent" To: freebsd-questions@freebsd.org Subject: Re: can't pipe to /dev/null ? Message-ID: <20030319183132.GA12094@nebcorp.com> Reply-To: "Rev. Joe Doyle Ardent" Mail-Followup-To: "Rev. Joe Doyle Ardent" , freebsd-questions@freebsd.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.0.20030319120816.02e98488@mail.go2france.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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