On 1/4/18 8:56 AM, Martijn Dekker wrote:
> The latest development snapshot appears to have fixed this bug.
>
> However, it introduced a new one: if the positional parameters are
> empty, then
>
> foo=$*
>
> produces a segfault.
Hmmm...I thought that was part of the test suite. I'll take a l
The latest development snapshot appears to have fixed this bug.
However, it introduced a new one: if the positional parameters are
empty, then
foo=$*
produces a segfault.
Thanks,
- Martijn
Op 16-12-17 om 17:06 schreef Chet Ramey:
> On 11/24/17 3:17 AM, Martijn Dekker wrote:
>> Here's another corner-case bug with assigning $* to a variable (i.e.:
>> foo=$*). If IFS is empty, the $* expansion removes any $'\001' (^A) and
>> $'\177' (DEL) characters. If IFS contains a value, each ^A and
On 11/24/17 3:17 AM, Martijn Dekker wrote:
> Here's another corner-case bug with assigning $* to a variable (i.e.:
> foo=$*). If IFS is empty, the $* expansion removes any $'\001' (^A) and
> $'\177' (DEL) characters. If IFS contains a value, each ^A and DEL
> character is prefixed by another $'\001
Here's another corner-case bug with assigning $* to a variable (i.e.:
foo=$*). If IFS is empty, the $* expansion removes any $'\001' (^A) and
$'\177' (DEL) characters. If IFS contains a value, each ^A and DEL
character is prefixed by another $'\001'. If IFS is unset, the bug does
not show up at all