From: Louis.Granboulan@ens.fr (Louis Granboulan)
To: zsh-workers@math.gatech.edu
Subject: Re: Process substitution and shell functions
Date: Sat, 21 Sep 1996 20:39:49 +0200 (MET DST) [thread overview]
Message-ID: <199609211839.UAA00762@pleurote.ens.fr> (raw)
In-Reply-To: <960920160213.ZM7718@candle.brasslantern.com> from "Bart Schaefer" at Sep 20, 96 04:02:13 pm
> I can't find anything about this in zsh-3.0.0/etc/FAQ or zsh-3.0.0/etc/BUGS
> so I'm assuming it's fairly new.
It is an old bug. zsh-2.5.0 works well, but zsh-2.5.03 has it.
This is due to some patch in exec.c, probably the big patch from 2.5.01
to 2.5.02 by Richard Coleman (Mon Jul 25 10:30:32 1994) to "allow
suspend/resume pipes ending in a list/loop/function and jobs with
a $(...) while that is running".
function foo { echo $1; head -1 $1 ; head -1 $1 }
foo =(echo hello world)
The variable last_file_list is recovered before the shell function
finishes.
-- Louis Granboulan <Louis.Granboulan@ens.fr>
next prev parent reply other threads:[~1996-09-21 18:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-20 23:02 Bart Schaefer
1996-09-21 18:39 ` Louis Granboulan [this message]
1996-09-24 16:47 ` Louis Granboulan
1996-09-24 18:01 ` Bart Schaefer
1996-09-25 8:51 ` Peter Stephenson
1996-09-26 18:32 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199609211839.UAA00762@pleurote.ens.fr \
--to=louis.granboulan@ens.fr \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).