From owner-freebsd-questions Tue Sep 25 10:34:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by hub.freebsd.org (Postfix) with ESMTP id D683C37B406 for ; Tue, 25 Sep 2001 10:31:01 -0700 (PDT) Received: from ertr1013.student.uu.se (h185n2fls20o913.telia.com [212.181.163.185]) by mailf.telia.com (8.11.6/8.11.6) with SMTP id f8PHCtD28135 for ; Tue, 25 Sep 2001 19:12:56 +0200 (CEST) Received: (qmail 45286 invoked by uid 1001); 25 Sep 2001 17:12:54 -0000 Date: Tue, 25 Sep 2001 19:12:54 +0200 From: Erik Trulsson To: Bill Schoolcraft Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Shell argument limits at $9 ?? Message-ID: <20010925191254.A45263@student.uu.se> Mail-Followup-To: Bill Schoolcraft , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i 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 08:43:53AM -0700, Bill Schoolcraft wrote: > Hello, > > In a script I'm working on called "testit" it calls for echoing the > arguments entered. This issue seems to reveal itself as follows when > I execute the following. > > testit a b c d e f g h i j k l m > > and then I go to echo $9 and it shows "i" but when I echo $10 it > shows "a0" and $11 shows "a1" apparently in hex. Not in hex. That is merely the result of the $1 part of $10 being replaced by "a" (the first argument) and followed by the "0" of $10. > > [question] > > How can I set the argument limit higher in the shell environment. > The shell is GNU bash, version 2.04.0(1)-release (i386--freebsd4.2) Use ${10} , ${11} , etc. to use arguments 10, 11 etc. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message