shell programming
| From: | void | Date: | Fri, 20 Jul 2001 09:19:49 +0000 |
| Subject: | shell programming | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-60359@lists.php.net to get a copy of this message | ||
I want to send more than 9 parms to a script ..
it doesn't like the 10th parm :(
asume $1 = "blue"
------------------- inside the script
.......
.......
echo $5 >> $7/lineinfo;
echo $8 >> $7/lineinfo;
echo $9 >> $7/lineinfo;
#the tenth parm
echo $10 >> $7/lineinfo;
#the above line outputs "blue0"
echo "$10" >> $7/lineinfo;
#the above line outputs "blue0" as well
How do i refer 2 the 10th parm passed to a shell script ?
any help would be apriciated,
thanx
Cape Town,
South Africa