Thanks Rex,
$* for all arguments passed in.
$x where x is the number of the argument you want.
Example:
If we write a script called test.sh
echo $* $1 $3 $5
Then run it...
[EMAIL PROTECTED] ~]$ ./test.sh hello don how are you
hello don how are you hello how you
[EMAIL PROTECTED] ~]$
Cheers Don
Rex Johnston wrote:
Don Gould wrote:
In a script, how do I see the parameters that are being passed in?
in a shell, type
man bash
There, that should keep you quiet for a while....
Rex
--
Don Gould
www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz -
www.bowenvale.co.nz - www.hearingbooks.co.nz - SkypeMe: ThinkDesignPrint