$ alias x='a=() foo echo $a' $ x foo $ declare -p a declare -a a=([0]="foo")
Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
$ alias x='a=() foo echo $a' $ x foo $ declare -p a declare -a a=([0]="foo")
Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."