From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14770 invoked from network); 3 Jan 2003 17:52:15 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 3 Jan 2003 17:52:15 -0000 Received: (qmail 20256 invoked by alias); 3 Jan 2003 17:52:04 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5646 Received: (qmail 20248 invoked from network); 3 Jan 2003 17:52:04 -0000 Date: Fri, 3 Jan 2003 17:52:02 +0000 To: Ian Macdonald Cc: zsh-users@sunsite.dk Subject: Re: output from 'builtin' command not redirectable Message-ID: <20030103175202.GA6929@fysh.org> References: <20030103173134.GD9138@caliban.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030103173134.GD9138@caliban.org> User-Agent: Mutt/1.3.28i From: Zefram Ian Macdonald wrote: >$ builtin foo &>/dev/null >zsh: no such builtin: foo > >No matter what I do, I can't redirect the output of the 'builtin' >command. { builtin foo; } &>/dev/null Unfortunately this technique isn't portable to every shell, but it works just as you'd expect in zsh. -zefram