bug-bash
[Top][All Lists]
Advanced

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

Re: set -x vs. n=($@)


From: alex xmb ratchev
Subject: Re: set -x vs. n=($@)
Date: Sun, 3 Sep 2023 20:39:25 +0200

On Sun, Sep 3, 2023, 12:08 Dan Jacobson <jidanni@jidanni.org> wrote:

> It's not fair:
> set -x a b c
>

you may want -v

m=$@ n=($@)
> == gives ==
> + m='a b c'
> + n=($@)
> please either say
> + m=$@
> + n=($@)
> or better:
> + m='a b c'
> + n=('a' 'b' 'c')
> or metion on
> https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
> the special exception.
> GNU bash, version 5.2.15
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]