greycat 1168868442 learn The difference between $@ and $*: without double quotes, no difference at all. With double quotes, "$@" is equivalent to "$1" "$2" ..., while "$*" is equivalent to "$1 $2 ...". You almost always want "$@". lhunath 1202238652 forget lhunath 1202238669 learn The difference between $@ and $*: without double quotes, none at all: both equal $1 $2 .... With double quotes, "$@" is "$1" "$2" ..., while "$*" is expanded as the single argument "$1c$2c..." (where c is the first character of $IFS). You almost always want "$@". lhunath 1225897075 forget lhunath 1225897077 learn The difference between $@ and $*: Unquoted, none at all: both equal $1 $2 .... With double quotes, "$@" is "$1" "$2" ..., while "$*" is expanded as the single argument "$1c$2c..." (where c is the first character of IFS). You almost always want "$@". The same goes for arrays: "${myarray[@]}" lhunath 1305275474 forget lhunath 1305275487 learn #redirect $@