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