greycat 1127406355 learn The difference between $@ and $*: without double quote, no difference at all. With double quotes, "$@" is equivalent to "$1" "$2" ..., while "$*" is equivalent to "$1 $2 ...". You almost always want "$@". VImtermute 1176028206 forget VImtermute 1176028220 learn The difference between $@ and $*: without double quote, no difference at all. With double quotes, "$@" is equivalent to "$1" "$2" ..., while "$*" is equivalent to "$1$2 ...". Ardonik 1176028520 forget Ardonik 1176028537 learn The difference between $@ and $*: without a double quote, no difference at all. With double quotes, "$@" is equivalent to "$1" "$2" ..., while "$*" is equivalent to "$1c$2c...", where 'c' is the first character of $IFS. You almost always want "$@". lhunath 1178588868 forget lhunath 1178588911 learn The difference between $@ and $*: without a double quote, no difference at all; they both equal "$1 $2 ...". With double quotes, "$@" is equivalent to "$1" "$2" ..., while "$*" is equivalent to "$1c$2c...", where 'c' is the first character of $IFS. You almost always want "$@". greycat 1181219933 forget greycat 1181219989 learn The difference between $@ and $*: without double quotes, none at all: both equal $1 $2 .... With double quotes, "$@" is "$1" "$2" ..., while "$*" is "$1c$2c..." (where c is the first character of $IFS). You almost always want "$@". igli 1192326805 forget igli 1192326836 learn The difference between $@ and $*: without double quotes, none at all: both equal $1 $2 .... With double quotes, "$@" is "$1" "$2" ..., while "$*" is "$1c$2c..." (where c is the first character of $IFS). You almost always want "$@". This applies to other arrays too. igli 1192327200 forget igli 1192327211 learn The difference between $@ and $*: without double quotes, none at all: both equal $1 $2 .... With double quotes, "$@" is "$1" "$2" ..., while "$*" is "$1c$2c..." (where c is the first character of $IFS). You almost always want "$@". SiegeX 1196926394 forget SiegeX 1196926720 learn The difference between $@ and $*: without double quotes, none at all: both equal $1 $2 .... With double quotes, "$@" is expanded as the arguments "$1" "$2" ..., while "$*" is expanded as the single argument "$1c$2c..." (where c is the first character of $IFS). You almost always want "$@". SiegeX 1196927002 forget SiegeX 1196927006 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 1210854912 forget lhunath 1210854982 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 1251710079 forget lhunath 1251710221 learn $@ vs $*: Unquoted, they are identical: $1 $2 .. (Don't use this!); Quoted, "$*" merges arguments into one: "$1_$2.." where _ is the first char from IFS, "$@" becomes: "$1" "$2" .. You almost always want "$@". Same for arrays: "${arr[@]}" irc2samus 1257371737 forget irc2samus 1257371748 learn #redir $* irc2samus 1257371760 forget irc2samus 1257371766 learn #redirect $* lhunath 1305275120 forget lhunath 1305275153 learn The difference between $@ and $*: Unquoted (don't do this!), none at all: both equal $1 $2 .... With double quotes, "$@" is "$1" "$2" ..., while "$*" is expanded as the single argument "$1c$2c..." @]}" lhunath 1305275172 forget lhunath 1305275201 learn The difference between $@ and $*: Unquoted (don't do this!), 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 1305275258 forget lhunath 1305275314 learn The difference between $@ and $*: Unquoted (don't do this!), none at all: both equal $1 $2 .... With double quotes, "$@" expands each element as an argument: "$1" "$2" ..., while "$*" is expands to all elements merged into one argument: "$1c$2c..." (where c is the first character of IFS). You almost always want "$@". The same goes for arrays: "${myarray[@]}" geirha 1317041958 forget geirha 1317041972 learn The difference between $@ and $*: Unquoted (don't do this!), none at all: both equal $1 $2 .... With double quotes, "$@" expands each element as an argument: "$1" "$2" ..., while "$*" expands to all elements merged into one argument: "$1c$2c..." (where c is the first character of IFS). You almost always want "$@". The same goes for arrays: "${myarray[@]}" ormaaj 1359958490 forget ormaaj 1359958689 learn The difference between $@ and $*: Unquoted, the results are unspecified. In Bash, both expand to separate arguments and then are both wordsplit and globbed. Quoted, "$@" expands each element as a separate argument: "$1" "$2" ..., while "$*" expands to all elements merged into one argument: "$1c$2c..." (where c is the first character of IFS). You almost always want "$@". The same goes for arrays: ormaaj 1359959017 forget ormaaj 1359959025 learn The difference between $@ and $*: Unquoted: the results are unspecified. In Bash, both expand to separate args and then wordsplit and globbed. Quoted: "$@" expands each element as a separate argument, while "$*" expands to the args merged into one argument: "$1c$2c..." (where c is the first char of IFS). You almost always want "$@". Same goes for "${arr[@]}". ALWAYS QUOTE THEM! e36freak 1365015481 forget e36freak 1365015488 learn The difference between $@ and $*: Without quotes (don't do this!), there is no difference. With double quotes, "$@" expands to each parameter as its own argument: "$1" "$2" ..., while "$*" expands to the single argument "$1c$2c...", where 'c' is the first character of IFS. You almost always want "$@" (QUOTED!). The same goes for arrays: "${array[@]}". [arx] 1409667121 forget [arx] 1409667154 learn The difference between $@ and $*: Without quotes (don't do this!), there is no difference. With double quotes, "$@" expands to each positional parameter as its own argument: "$1" "$2" ..., while "$*" expands to the single argument "$1c$2c...", where 'c' is the first character of IFS. You almost always want "$@" (QUOTED!). The same goes for arrays: "${array[@]}". greycat 1498138829 forget greycat 1498138831 learn The difference between $@ and $*: "$@" (quoted) expands to each positional parameter as its own argumemt: "$1" "$2" ... while "$*" expands to the single argument "$1c$2c..." where c is the first character of IFS. Unquoted $* and $@ are undefined; DO NOT use. You almost always want "$@". The same goes for arrays: "${array[@]}" greycat 1508865165 forget greycat 1508865166 learn The difference between $@ and $*: "$@" (quoted) expands to each positional parameter as its own argument: "$1" "$2" ... while "$*" expands to the single argument "$1c$2c..." where c is the first character of IFS. Unquoted $* and $@ are undefined; DO NOT use. You almost always want "$@". The same goes for arrays: "${array[@]}" yitz 1539553147 forget yitz 1539553184 learn The difference between $@ and $*: "$@" (quoted) expands to each positional parameter as its own argument: "$1" "$2" ... while "$*" expands to the single argument "$1c$2c..." where c is the first character of IFS. Unquoted $* and $@ are undefined; DO NOT use. You almost always want "$@". The same goes for arrays: "${array[@]}" greycat 1562779805 forget greycat 1562779806 learn The difference between $@ and $*: "$@" (quoted) expands to each positional parameter as its own argument: "$1" "$2" ... while "$*" expands to the single argument "$1c$2c..." where c is the first character of IFS. You almost always want "$@". The same goes for arrays: "${array[@]}" or "${array[*]}". Unquoted $* and $@ are undefined; DO NOT use. emanuele6 1679690721 forget emanuele6 1679690789 learn The difference between $@ and $*: "$@" (quoted) expands to each positional parameter as its own argument: "$1" "$2" ... while "$*" expands to the single argument "$1c$2c..." where c is the first character of IFS. You almost always want "$@". The same goes for arrays: "${array[@]}" or "${array[*]}". Unquoted $* and $@ are nonsense; DO NOT use