Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Redirection and Variables
- X-seq: zsh-users 8078
- From: Nikolai Weibull <zsh-users-list@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Redirection and Variables
- Date: Tue, 19 Oct 2004 16:18:26 +0200
- In-reply-to: <200410191401.i9JE1LV5025457@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041019120220.GA9258@xxxxxxxxxxxxxxxxxx> <200410191304.i9JD46qt025040@xxxxxxxxxxxxxx> <20041019135121.GA12143@xxxxxxxxxxxxxxxxxx> <200410191401.i9JE1LV5025457@xxxxxxxxxxxxxx>
* Peter Stephenson <pws@xxxxxxx> [Oct 19, 2004 16:10]:
> > Well, the script is run like
> > url-extract <mail
> You could pass the file "mail" as an argument to url-extract, then only
> redirect from it internally for the chunk which needs it. That avoids
> any dependence on /dev/tty. Remember you can do things like:
> {
> # stuff with mail as input
> } <mail
> # stuff with normal input
> without having to create subshells.
Yeah, that would be fine, but I can't take the file as an argument.
This script is used from mutt and piping of messages is what you have at
your disposal in that case.
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author