Date: Tue, 25 Sep 2001 12:56:50 -0400 (EDT) From: Pat Barron <pat@transarc.ibm.com> To: Bill Schoolcraft <bill@wiliweld.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Shell argument limits at $9 ?? Message-ID: <Pine.GSO.3.96.1010925125454.12693C-100000@smithfield.transarc.ibm.com> In-Reply-To: <Pine.GSO.4.33.0109250836490.18238-100000@corten8.billschoolcraft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Sep 2001, Bill Schoolcraft wrote: > 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. It's not in hex - "echo $10" echoes "$1" followed by "0"; since $1 is set to "a", you get "a0". Same thing with $11. > > 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) As far as I know, you can't. Use "shift" to move the arguments over. --Pat. 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?Pine.GSO.3.96.1010925125454.12693C-100000>