bug-bash
[Top][All Lists]
Advanced

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

set -x vs. n=($@)


From: Dan Jacobson
Subject: set -x vs. n=($@)
Date: Sun, 03 Sep 2023 05:08:26 -0500

It's not fair:
set -x a b c
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]