Steffen Nurpmeso wrote in
<20240822232849.ib5zNN-v@steffen%sdaoden.eu>:
...
| a() { echo $#,1=$1,2=$2,"$*",$*,; }
| set -- a b c
| echo 2
| IFS=:; echo "$*"$*; a $* "$*";
|
|then bash gives me
|
| 2
| a:b:ca b c
| 4,1=a,2=b,a:b:c:a:b:c,a b c a b c,
|
|whereas my little mailer says
...
| 2,1=a b c,[.]
|
|What i do not understand is the difference in between the $*
|expansion in the call to "a".
...
Having said that, now i am so confused that i even have forgotten
why i create the SPACE separation *at all*, ie, as $1=a, $2=b and
$3=c, when i create $* from these.
Good night from Germany!
(And thanks for any hint)
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)