From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8202cbf39c6d147497dc9f7301142e71@coraid.com> From: erik quanstrom Date: Fri, 9 Mar 2007 08:55:44 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] How can I shift a variable other than ? In-Reply-To: <20070309070037.GB12719@kris.home> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 1df93c4a-ead2-11e9-9d60-3106f5b1d025 that's a good solution. i appoligize for being a topper but here's the same function without eval: fn s { v = $1 * = $$1 shift $v = $* } it does use a local, but it avoids a "null list in concatenation" error if a=(). this is still very complicated for what should be a simple operation in the shell. - erik