From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1710 invoked by alias); 6 Sep 2015 17:20:26 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20527 Received: (qmail 8092 invoked from network); 6 Sep 2015 17:20:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Authority-Analysis: v=2.1 cv=X+5rdgje c=1 sm=1 tr=0 a=u7jSFDPde++bqsNIHpLwYw==:117 a=u7jSFDPde++bqsNIHpLwYw==:17 a=N659UExz7-8A:10 a=DfsB0WPg0-ud1q8eKM0A:9 a=pILNOxqGKmIA:10 Message-id: <55EC6ECC.4020503@eastlink.ca> Date: Sun, 06 Sep 2015 09:50:20 -0700 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: syntax question References: <20150830201324.309d36b0@ntlworld.com> In-reply-to: <20150830201324.309d36b0@ntlworld.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit If I have a variable who's name is partially constructed from the contents of another variable: eval "t$bb=" eval "echo \$t$bb" ... the above handles it all fine, but is there a simpler syntax? I understand that most/much of what 'eval' does can be written more elegantly.