4 ms·
or perhaps it was the dreaded "rm -rf ${DIR}/*" when $DIR is not defined.
by cobbzilla 10y ago
or perhaps it was the dreaded "rm -rf ${DIR}/*" when $DIR is not defined.
- throwawayish 10y agoSafe shell coding tip #10451: Variables containing directories always have to end in a slash, and paths may never be built using variables and slashes.