Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Process substitution and shell functions
- X-seq: zsh-workers 2154
- From: Louis.Granboulan@xxxxxx (Louis Granboulan)
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: Process substitution and shell functions
- Date: Sat, 21 Sep 1996 20:39:49 +0200 (MET DST)
- In-reply-to: <960920160213.ZM7718@xxxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author