Re: "$@" eats adjacent quoted nulls when expanding to quoted null

2017-04-01 Thread Chet Ramey
On 3/30/17 3:19 AM, Grisha Levit wrote: > (This is very similar to a fixed issue[1] from 4.4-beta) > > A quoted null string will fail to generate a field when it is adjacent > to a double-quoted expansion of $@ which itself expands to a null string: Thanks for the report. I'll take a look. Chet

Re: splitting/whitespace in expansions of ${*} vs ${*/}

2017-04-01 Thread Chet Ramey
On 3/30/17 4:30 AM, Grisha Levit wrote: > Sorry if you already noticed this: The latest devel push fixes the reported > field-splitting case but there is a regression with the fields getting > re-joined with spaces when performing an assignment: > >$ set -- 1 2; IFS=; a=$* b=${*/}; printf '<%s