Results 1 to 2 of 2
I have a bash script and I want to get the tenth argument I pass in as
MYVAR=$10
but instead it is assigning the value of $1 followed by a ...
- 04-11-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 5
bash scripting arguments beyond $9
I have a bash script and I want to get the tenth argument I pass in as
MYVAR=$10
but instead it is assigning the value of $1 followed by a 0 to the MYVAR.
Is there any special syntax to reference arguments beyond $9 ?
- 04-11-2007 #2Just Joined!
- Join Date
- Apr 2007
- Posts
- 5
${10} does it


Reply With Quote
