diff --git a/LDP/guide/docbook/abs-guide/abs-guide.xml b/LDP/guide/docbook/abs-guide/abs-guide.xml index a5b75f21..c994fb8c 100644 --- a/LDP/guide/docbook/abs-guide/abs-guide.xml +++ b/LDP/guide/docbook/abs-guide/abs-guide.xml @@ -8618,7 +8618,10 @@ echo "Your favorite song is $song." positional all - All of the positional parameters, seen as a single word + All of the positional parameters, seen as a single + word, "$*" is equivalent to + "$1${IFS:0:1}$2${IFS:0:1}$3..." + $* must be quoted. @@ -8640,10 +8643,12 @@ echo "Your favorite song is $song." Same as $*, but each parameter is a - quoted string, that is, the parameters are passed on - intact, without interpretation or expansion. This means, - among other things, that each parameter in the argument - list is seen as a separate word. + quoted string, that is, the parameters are passed on + intact, without interpretation or expansion. This means, + among other things, that each parameter in the argument + list is seen as a separate word, "$@" + is equivalent to "$1" "$2" ... + Of course, $@ should be quoted.