From: Gioele Barabucci <gioele@svario.it>
To: dash@vger.kernel.org
Subject: Re: [BUG] dash uses $* instead of $@ in variable assignments
Date: Wed, 2 Dec 2015 23:10:05 +0100 [thread overview]
Message-ID: <n3nq7u$t46$1@ger.gmane.org> (raw)
In-Reply-To: <20151126213753.GA8662@chaz.gmail.com>
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@svario.it>
prev parent reply other threads:[~2015-12-02 22:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-26 19:44 [BUG] dash uses $* instead of $@ in variable assignments Gioele Barabucci
2015-11-26 21:07 ` Harald van Dijk
2015-11-26 21:37 ` Stephane Chazelas
2015-12-02 22:10 ` Gioele Barabucci [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='n3nq7u$t46$1@ger.gmane.org' \
--to=gioele@svario.it \
--cc=dash@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox