4 ms·
Bash scripting is hard ... missing a space or add a space ... How do you debug it and trace it ... I do use it as said this is the terminal command line and b
by ngcc_hk 2y ago
Bash scripting is hard ... missing a space or add a space ...
How do you debug it and trace it ...
I do use it as said this is the terminal command line and both Mac/Linux supported it. And if it works, it work even nohup.
Just hard.
- kchr 2y agoYou debug it with shellcheck[0] and `set -ex` (which will trace each statement on STDOUT). [0] https://www.shellcheck.net/ https://www.shellcheck.net/