Date: Tue, 25 Sep 2001 19:17:16 +0100 From: Ceri <ceri@techsupport.co.uk> To: Bill Schoolcraft <bill@wiliweld.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Shell argument limits at $9 ?? Message-ID: <20010925191716.A19791@cartman.private.techsupport.co.uk> In-Reply-To: <Pine.GSO.4.33.0109251045080.18238-100000@corten8.billschoolcraft.com>; from bill@wiliweld.com on Tue, Sep 25, 2001 at 10:52:15AM -0700 References: <20010925175028.A29628@cartman.private.techsupport.co.uk> <Pine.GSO.4.33.0109251045080.18238-100000@corten8.billschoolcraft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010925191716.A19791>