jida...@jidanni.org wrote:
$ cat 201012contract
#!/bin/sh -eux
set a b c d e f
: ''$@''
: ' '$@' '
: ' '$*' '
: ' ' $* ' '
: " "$* " "
$ ./201012contract
+ set a b c d e f
+ : a b c d e f
+ : ' a' b c d e 'f '
+ : ' a' b c d e 'f '
+ : ' ' a b c d e f ' '
+ : ' a' b c d e f ' '
$ apt-show-versions bash
bash/unstable uptodate 4.1-3
OK, the problem may only be -x deep, affecting the -x reporting output,
but not the actual functionality, thank G.O.D.
I'd say this is expected (and by the way it's not only on set -x).
--
Be conservative in what you do, be liberal in what you accept from others.
- jbp, master of the net, in RFC793