On 0, Squirrel <[EMAIL PROTECTED]> wrote: > [implied question] > > What's the meaning of "echo $@"? >
In a shell script, $@ contains all the arguments to the script (NOT including the name of the script itself, unlike argv in C). So if a script just has 'echo $@' in it, then it is functionally equivalent to 'echo' (except doesn't have the command line options, obviously). Note that if you 'shift' the arguments then that cuts the front one off what $@ reports. Tom -- Tom Cook Information Technology Services, The University of Adelaide "There are few things more satisfying than seeing your children have teenagers of their own." - Doug Larson Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au
pgp16R93BYTch.pgp
Description: PGP signature