mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
acad0adc29
The old behaviour is: for var in $* do echo "$var" done And you get this: $ sh test.sh 1 2 '3 4' 1 2 3 4 Changing it to: for var in "$@" do echo "$var" done will correctly expand to: $ sh test.sh 1 2 '3 4' 1 2 3 4 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Mar 15 05:26:17 CET 2017 on sn-devel-144 |
||
---|---|---|
.. | ||
blackbox | ||
win32 |