Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: output from 'builtin' command not redirectable
- X-seq: zsh-users 5646
- From: Zefram <zefram@xxxxxxxx>
- To: Ian Macdonald <ian@xxxxxxxxxxx>
- Subject: Re: output from 'builtin' command not redirectable
- Date: Fri, 3 Jan 2003 17:52:02 +0000
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20030103173134.GD9138@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030103173134.GD9138@xxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author