> for i in bash mksh; do > echo $i: > $i <<'!' > set 'a b' 'c d' > quoted="$@" > unquoted=$@ > echo "$quoted" > echo "$unquoted" > ! > done > > here bash treats unquoted $@ on rhs differently, expanding it like $*:
Thanks for the report. I'll take a look. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/