Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
simple substitution?
- X-seq: zsh-users 14298
- From: tartifola@xxxxxxxxx
- To: zsh-users@xxxxxxxxxx
- Subject: simple substitution?
- Date: Wed, 12 Aug 2009 13:39:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:reply-to:organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=WZq+Nsvi+SXqZZNonwosAQibFJ90Cogflp65jhQ0xWo=; b=pS1EL8DztSjAZ5504iKbdChnZP9VMEr9L5JM3dzQ3wqtFaeWaanpeA/M1LHFUU3crL wLjo/GqtTfHGwsei7rmmtCQXrGEqM0av8sP9oNSxqq943yw8sun2KwIOq4utGTJqb43A jGWPTXWazeV3c6SXrsIbJHV6HJlrhAQFHdMuo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:organization:x-mailer :mime-version:content-type:content-transfer-encoding; b=xvGFYDJqx2a7CHrB3nupxZLZy/Do401/z4DsaFJoiPYR5/A6+WsTs92f4Gkh3mrk+a OQMwfxJ+YGJZ3eADS+RNkSR+JjUgNA/7kMH5VGVBAN8rBTPng/Ha9PpgsOrCy/vs0+ca fHqTzFR0JqEI7tI3Hv1y7YtwubfOE0FNcFKH0=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Tartifola Inc.
- Reply-to: tartifola@xxxxxxxxx
Hi,
I'm trying to understand expansion end substitution and I'm lost in
what should be a simple substitution. Here my example
>foo=4
>echo ${foo}
4
>FO=fo
>O=o
>echo \${${FO}${O}}
${foo}
while I was expecting '4'. What am I missing?
Thanks
Messages sorted by:
Reverse Date,
Date,
Thread,
Author