Paul L. Snyder on 19 May 2005 19:42:59 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] bash, double for

Quoting "Paul L. Snyder" <>:

>   zsh$ WHAT="IPA Gorgonzola bouillabaisse"
>   zsh$ typeset -T WHAT thing ' '
>   zsh$ echo $thing[2]
>   Gorgonzola
>   zsh$ thing[2]=Taleggio
>   zsh$ WHAT="IPA Taleggio bouillabaisse"

That last line is a typo. The end of the above example should read:

  zsh$ thing[2]=Taleggio
  zsh$ echo $WHAT
  IPA Taleggio bouillabaisse

Sorry 'bout that.

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --