shellharden

Bash syntax highlighter that enforces proper variable quoting

brewmacoslinux
Try with needOr install directly
Source

About

Bash syntax highlighter that encourages/fixes variables quoting

Commands

shellharden

Examples

Check a bash script for quoting issues and syntax problems$ shellharden script.sh
Fix quoting issues automatically in a script$ shellharden --replace script.sh
Check all bash scripts in current directory$ shellharden *.sh