Re:Minimal safe Bash script template
by dvfjsdhgfv on Tuesday December 15, 2020 @07:51AM
(#25429797)
This is my feeling, too. Race conditions, misunderstanding globbing, whitespace in path names - these are the main sources of errors in Bash scripts I come by.
[ Parent
| on HN ]
Re:Minimal safe Bash script template
by Silhouette on Tuesday December 15, 2020 @08:37AM
(#25430147)
whitespace in path names
And more generally, the arcane rules for quoting, substitutions, parameter parsing, running other processes, and how all of these interact.