Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Redirecting shell output to a pipe
- X-seq: zsh-users 14601
- From: "Nadav Har'El" <nyh@xxxxxxxxxxxxxxxxxxx>
- To: Peter Miller <Peter.Miller@xxxxxxx>
- Subject: Re: Redirecting shell output to a pipe
- Date: Wed, 25 Nov 2009 08:48:01 +0200
- Cc: zsh-users@xxxxxxx
- Hebrew-date: 8 Kislev 5770
- In-reply-to: <4B0C2709.5080307@xxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20091124143140.GA7612@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4B0C2709.5080307@xxxxxxx>
On Tue, Nov 24, 2009, Peter Miller wrote about "Re: Redirecting shell output to a pipe":
>...
> > Isn't it natural to assume that in the same fashion, you should also
> > be able to redirect the scripts output to a pipe? E.g., a very useful
> > idiom could have been
> >
> > exec | tee filename
>
> exec |& tee filename
Does this work for you? I get (on zsh 4.3.10)
zsh: redirection with no command
This was exactly my "complaint" - that this is sensible syntax, that
could have worked, but doesn't.
--
Nadav Har'El | Wednesday, Nov 25 2009, 8 Kislev 5770
nyh@xxxxxxxxxxxxxxxxxxx |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |A cat has claws ending its paws. A
http://nadav.harel.org.il |sentence has a pause ending its clause.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author