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 ? Date: Fri, 9 Mar 2007 06:57:39 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 1d7aa326-ead2-11e9-9d60-3106f5b1d025 > broken! fn myshift{echo $*; '*' = $*(2-) ; echo $*} > broken! myshift 1 2 3 4 5 > 1 2 3 4 5 > > less than 20 lines of code. (attached so you can avert your eyes.) I'd say submit it as a patch. But please explain what I'm missing in the last few lines, should it not say? 1 2 3 4 5 2 3 4 5 Did you cut it short? ++L