(with yesterday's git head and R46) $ mksh -c 'IFS=; [[ $* = ab ]]; echo "$?"' sh a b 1 $ mksh -c 'IFS=; [[ $* = a ]]; echo "$?"' sh a b 0
Expected the reverse. It works ok with [[ "$*" = ab ]]. Also: $ mksh -c 'IFS=; [[ "$@" = a ]]; echo "$?"' sh a b 0 $ mksh -c 'IFS=; case "$@" in a) echo a; esac' sh a b a $ mksh -c 'IFS=; case $* in a) echo a; esac' sh a b a Not that I'd expect anyone to use anything but [[ "$*" = ... ]]. But it would make sense for the result to be consistent with: $ mksh -c 'IFS=; star=$* at="$@"; printf "<%s>\n" "$star" "$at"' sh a b <ab> <a b> (R46 gave <a> <a> there.) -- Stephane
