Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Apr 2003 11:19:50 +0530
From:      "Sunil Sunder Raj" <unixtools@hotmail.com>
To:        LConrad@Go2France.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: can't pipe to /dev/null ?
Message-ID:  <F100XnbnCndg5oQJgAG0000d159@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
Did you try
devnull:  |> /dev/null

Cheers
SSR






>From: Len Conrad <LConrad@Go2France.com>
>To: freebsd-questions@freebsd.org
>Subject: can't pipe to  /dev/null ?
>Date: Wed, 19 Mar 2003 11:20:35 -0600
>
>in /etc/aliases:
>
>devnull:  |/dev/null
>
>and:
>
># ll /dev/null
>crw-rw-rw-  1 root  wheel    2,   2 Mar 19 11:13 /dev/null
>
>but:
>
>Mar 19 10:55:08 img10 postfix/local[41744]: 671235621: 
>to=<devnull@img10.xxx.net>, relay=local, delay=1, status=bounced (Command 
>died with status 1: "/dev/null")
>
>... is fixed with:
>
>devnull:  |cat>/dev/null
>
>.... which gives:
>
>Mar 19 11:13:51 img10 postfix/local[43231]: E5C4A5623: 
>to=<devnull@img10.xxx.net>, relay=local, delay=0, status=sent (delivered to 
>command: cat)
>
>Mar 19 11:13:51 img10 postfix/local[43231]: E5C4A5623: 
>to=<devnull@img10.xxx.net>, relay=local, delay=0, status=sent (delivered to 
>file: /dev/null)
>
>Piping into /dev/null has worked in the past, wondering why the cat command 
>has become necessary?
>
>Len
>
>
>
>
>_____________________________________________________________________
>MenAndMice.com/DNS-training: Austin; Chicago; San Jose; Toronto
>IMGate.MEIway.com: anti-spam gateway, 95+% effective, free
>
>
>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?F100XnbnCndg5oQJgAG0000d159>