-   Linux - Newbie (
-   -   Query about script variable (

phantomdude 03-18-2004 10:33 AM

Query about script variable
I was just wondering what this variable returns in a script:


Any assistance is appreciated!

wapcaplet 03-18-2004 12:21 PM

Assuming you mean shell scripts (like bash), $@ evaluates to all of the parameters passed to the script. So if the script was run like this:

myscript a b c

Then $@ would be "a b c". Check out the bash manual page for details.

It might mean something different in other scripting languages... not sure.

All times are GMT -5. The time now is 10:59 AM.