What is the difference between $* and $@
There is no difference if you do not put $* or $@ in quotes. But if you put them inside quotes (which you should, as a general good practice), then $@ will pass your parameters as separate parameters, whereas $* will just pass all params as a single parameter. Take these scripts (foo.sh and bar.sh) … Read more