Re: case inside $(while true) misparsed

2017-11-01 Thread Gniourf
Hi, How is the parser supposed to know that the closing parenthesis in */) is supposed to match the opening $( or not? This should work, though: foo=$(while true; do case $HOME in (/*) echo abs ;; esac; done) Best, - GG. On 11/01/2017 12:04 PM, Kjetil Torgrim Homme wrote: Configuration I

Re: bash-4.4-beta hangs when running 'set --help'

2015-10-27 Thread Gniourf gniourf
and ulimit --help has the same problem too… On 10/27/2015 01:25 PM, Greg Wooledge wrote: On Tue, Nov 10, 2015 at 04:32:26PM +0800, ziyunfei wrote: Nothing to say? >From subject: "bash-4.4-beta hangs when running 'set --help'" I can confirm this on HP-UX 10.20. Not only hangs: it consumes