DEV Community

Discussion on: Shell Scripts Matter

Collapse
 
jasondewitt profile image
Jason DeWitt

Great article, thanks for the tips. I did run into one problem, I copied your template to use it and just the base template is failing a shellcheck test:

^-- SC2145: Argument mixes string and array. Use * or separate argument.

github.com/koalaman/shellcheck/wik...

I took that advice and changed from $@ to $*, the example still works, so I thought I would point it out.

Collapse
 
thiht profile image
Thibaut Rousseau

That's fixed!