From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] How can I shift a variable other than ? From: benavento@gmail.com (Federico G. Benavento) Date: Fri, 9 Mar 2007 02:27:23 -0300 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 1ce1351a-ead2-11e9-9d60-3106f5b1d025 my way: fn myshift { shift echo $* } lotte% a=(1 2 3 4 5) lotte% a=`{myshift $a} lotte% echo $a 2 3 4 5 Federico G. Benavento --- /bin/fortune: I don't think so, therefore I'm probably not. --Alan Smithee