Problem with sh/ksh quoting
Brad Appleton
brad at SSD.CSD.HARRIS.COM
Sat Nov 3 07:16:26 AEST 1990
In article <1452 at travis.csd.harris.com> brad at SSD.CSD.HARRIS.COM (Brad Appleton) writes:
>Like I said before - if you have the Korn shell, this is all *very* simple
>if you create an array using "set -A" (or "set +A") and iterate your for-loop
>based on "$array[@}" (the quotes are needed here). If you are using the
OOPS - bad typing! that should read :
"${array[@]}"
and NOT
"$array[@}"
for obvious reasons!!!
______________________ "And miles to go before I sleep." ______________________
Brad Appleton brad at ssd.csd.harris.com Harris Computer Systems
uunet!hcx1!brad Fort Lauderdale, FL USA
~~~~~~~~~~~~~~~~~~~~ Disclaimer: I said it, not my company! ~~~~~~~~~~~~~~~~~~~
More information about the Comp.unix.shell
mailing list