From owner-freebsd-questions Tue Sep 25 11: 1: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from corten2.billschoolcraft.com (adsl-63-193-247-201.dsl.snfc21.pacbell.net [63.193.247.201]) by hub.freebsd.org (Postfix) with ESMTP id 43EA037B40B for ; Tue, 25 Sep 2001 10:58:10 -0700 (PDT) Received: from corten8.billschoolcraft.com ([192.168.7.8]) by corten2.billschoolcraft.com with esmtp (Exim 3.22 #1 (Debian)) id 13dcTL-0003YT-00; Mon, 25 Sep 2000 10:55:24 -0700 Date: Tue, 25 Sep 2001 10:52:15 -0700 (PDT) From: Bill Schoolcraft X-X-Sender: To: Ceri Cc: Subject: Re: Shell argument limits at $9 ?? In-Reply-To: <20010925175028.A29628@cartman.private.techsupport.co.uk> Message-ID: System-ID: SunOS 5.8 i86pc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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}'`" ##################################### 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) -- Bill Schoolcraft | PO Box 210076 San Francisco, CA 94121 http://ForwardSlashUnix.com "UNIX, A Way of Life." rm -rf /bin/laden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message