mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 22:51:42 +02:00
unposted: Add 45400 (vared in subshells) plus remarks on users/24904.
This commit is contained in:
parent
d7e90f1c7c
commit
172b646a6b
1 changed files with 9 additions and 0 deletions
9
Etc/BUGS
9
Etc/BUGS
|
@ -63,4 +63,13 @@ users/24904: 'func <(...) | wc -l' results in ENOENT on /proc/self/fd/13
|
||||||
% efe <(seq 1 10) | wc -l
|
% efe <(seq 1 10) | wc -l
|
||||||
cat: /proc/self/fd/13: No such file or directory
|
cat: /proc/self/fd/13: No such file or directory
|
||||||
0
|
0
|
||||||
|
|
||||||
|
This occurs because pipelines fork to the left, and named functions
|
||||||
|
become their own job, which means descriptors numbered >= 10 are closed,
|
||||||
|
including those opened by process substitution.
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
45400: vared does not work in subshells, even when the parent shell is
|
||||||
|
interactive and the subshell is the foreground job. The USEZLE option is
|
||||||
|
always turned off in subshells, for reasons lost to history. There is a
|
||||||
|
related, probably obsolete, vared special case for $TERM set to "emacs".
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue