Re: [BUG] dash uses $* instead of $@ in variable assignments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26/11/2015 22:37, Stephane Chazelas wrote:
> 2015-11-26 20:44:26 +0100, Gioele Barabucci:
>> Hello,
>>
>> I am forwarding a bug [1] reported by a Debian user: dash incorrectly
>> uses `$*` instead of the requested `$@` inside variable assignments.
>> The current version of dash is affected by this bug.
>>
>> A simple test from the original reporter:
>>
>>     $ dash -c 'IFS=:$IFS ; set -- a b c ; echo "$@" ; x="$@" ; echo "$x"'
>>     a b c
>>     a:b:c
> [...]
> 
> This behaviour is what I expect and is common to other shells as
> well.

Hi,

so from the answers I got this looks like an intended behaviour. Fair
enough. :) For the sake of triage I will then mark the Debian bug as
wontfix.

Regards,

--
Gioele Barabucci <gioele@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux