Re:Lines of code that changed everything
by 0x8BADF00D on Wednesday November 27, 2019 @05:43PM
(#21652900)
More generally, it taught us to be careful with string substitution and interpolation.
[ Parent
| on HN ]
Re:Lines of code that changed everything
by Izkata on Wednesday November 27, 2019 @09:25PM
(#21654153)
There's actually (at least) two versions of GP's comment - unsafe code/data, what you appear to be referring to:
rm -rf $FOO/*
And typos, which is what I first thought of upon reading it: rm -rf . /*