3 ms·
See also: * safe ways to do things in bash: https://github.com/anordal/shellharden/blob/master/how_to_do_things_safely_in_bash.md https://github.com/anordal/sh
by asicsp 4y ago
See also:
* safe ways to do things in bash: https://github.com/anordal/shellharden/blob/master/how_to_do_things_safely_in_bash.md https://github.com/anordal/shellharden/blob/master/how_to_do...
* better scripting: https://robertmuth.blogspot.in/2012/08/better-bash-scripting-in-15-minutes.html https://robertmuth.blogspot.in/2012/08/better-bash-scripting...
* robust scripting: https://www.davidpashley.com/articles/writing-robust-shell-scripts/ https://www.davidpashley.com/articles/writing-robust-shell-s...
- ndsipa_pomu 4y agoI can highly recommend Greg's wiki/BASH faq: https://mywiki.wooledge.org/BashFAQ https://mywiki.wooledge.org/BashFAQ Now when I'm processing files with BASH, I nearly always end up copying stuff from there as it just bypasses common errors such as not handling whitespace or filenames that contain line breaks.