From owner-freebsd-questions Tue Sep 25 11:21:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cartman.private.techsupport.co.uk (cabletel1.cableol.net [194.168.3.4]) by hub.freebsd.org (Postfix) with ESMTP id C123437B410 for ; Tue, 25 Sep 2001 11:17:54 -0700 (PDT) Received: from ceri by cartman.private.techsupport.co.uk with local (Exim 3.31 #1) id 15lwlg-0005jG-00; Tue, 25 Sep 2001 19:17:16 +0100 Date: Tue, 25 Sep 2001 19:17:16 +0100 From: Ceri To: Bill Schoolcraft Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Shell argument limits at $9 ?? Message-ID: <20010925191716.A19791@cartman.private.techsupport.co.uk> References: <20010925175028.A29628@cartman.private.techsupport.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bill@wiliweld.com on Tue, Sep 25, 2001 at 10:52:15AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Sep 25, 2001 at 10:52:15AM -0700, Bill Schoolcraft said: > At Tue, 25 Sep 2001 it looks like Ceri composed: > > ceri->On Tue, Sep 25, 2001 at 08:43:53AM -0700, Bill Schoolcraft said: > ceri->> testit a b c d e f g h i j k l m > ceri->> > ceri->> and then I go to echo $9 and it shows "i" but when I echo $10 it > ceri->> shows "a0" and $11 shows "a1" apparently in hex. > ceri-> > ceri->echo ${10} > ceri-> > > Jeez, you made that look easy. I ended up using > > > ############_snipped_################ > foo=$ > > echo "9:`echo $foo|awk '{print $9}'`" > echo "10:`echo $foo|awk '{print $10}'`" > echo "11:`echo $foo|awk '{print $11}'`" > ##################################### Well, I'm not convinced that will work either to be honest, but at least you tried to find a way round it. > Thanks for the help, it's for a Shell course I'm taking. > > Jeez, I can't tell you the surprise I had when $10 didn't work (blush) No problem - good luck with it. Ceri -- Your local RFC Nazi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message