On 6/21/19 2:58 PM, [email protected] wrote:
> However, merely by assigning a variable prior to the loop, though within the
> same line, the number will continuously grow:
>
> $ var=0; while :; do { read; } < <(:); sleep 0.5; printf %s\\n
> /proc/self/fd/* | wc -l; done
> 6
> 7
> 8
> 9
> 10
> ... etc
Thanks for the report. This will be fixed in the next devel branch push.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/