What is the difference between $@ and $* in shell scripts ?

Posted by Julien Nicoulaud on Stack Overflow See other posts from Stack Overflow or by Julien Nicoulaud
Published on 2010-05-03T22:49:13Z Indexed on 2010/05/03 22:58 UTC
Read the original article Hit count: 211

Filed under:
|
|
|

In shell scripts, what is the difference between $@ and $* ?

Which one is the preferred way to get the script arguments ?

Are there differences between the different shell interpreters about this ?

© Stack Overflow or respective owner

Related posts about bash

Related posts about shell