Re: Hidden directories breaks path expansions

2019-03-08 Thread Chet Ramey
On 3/7/19 9:42 AM, Dr. Werner Fink wrote: >> There is a slightly updated version of that patch attached to this message. > > OK ... the hidden directories do work now ... but in the test suite > of sed the test case sed-4.7/testsuite/subst-mb-incomplete.sh with > > print_ver_ sed > > require_

Re: bash: ^D exits immediately while jobs are stopped

2019-03-08 Thread Chet Ramey
On 3/7/19 3:52 PM, Tom Levy wrote: > Description: > > When jobs are stopped it normally takes two attempts to exit with no > intervening commands. However, if there is exactly one intervening > command, ^D exits immediately instead of printing a warning. (The > "exit" builtin works correctly on th

Re: unset IFS and ${v=$*} CTLNUL leakage

2019-03-08 Thread Grisha Levit
A few more that produce \177 in the output, though I'm not sure if these have defined output: $ IFS=$' \t\n' # or any other IFS $ set -- '' $ recho ${v= "$*" } <$'\177'> $ IFS='' $ set -- '' '' $ recho ${v= "$*" } <$' \177 '> And also variations like the below a

Re: CTLNUL leakage in bash-20190220

2019-03-08 Thread Grisha Levit
On Tue, Mar 5, 2019 at 11:26 AM Chet Ramey wrote: > This is still a WIP, keep the test cases coming. bash removes the surrounding space in these cases (all other shells print `< X >'): IFS=; set -- X printf "<%s>" ${0+ "$@" } printf "<%s>" ${0+ $@ } printf "<%s>" ${0+ $

Re: unset IFS and ${v=$*} CTLNUL leakage

2019-03-08 Thread Robert Elz
Date:Fri, 8 Mar 2019 18:09:50 -0500 From:Grisha Levit Message-ID: | A few more that produce \177 in the output, though I'm not sure if | these have defined output: The ones using "$*" should be OK (well specified). | And also variations like the below all ha

Re: CTLNUL leakage in bash-20190220

2019-03-08 Thread Robert Elz
Date:Fri, 8 Mar 2019 19:18:29 -0500 From:Grisha Levit Message-ID: | bash removes the surrounding space in these cases (all other shells | print `< X >'): Must be something to do with null value for IFS. If IFS=Q (or anything else not containing space or X) it