Thursday 10 November 2016

Differences Between $@ and $* as Positional Parameters

Cited from $IFS
  • $@ expanded as "$1" "$2" "$3" ... "$n" 
  • $* expanded as "$1y$2y$3y...$n", where y is the value of IFS variable i.e. "$*" is one long string and $IFS act as an separator or token delimiters.

No comments:

Post a Comment