4 ms·
That seems flaky at best. Basically you rely on "*" expansion to inject the -i. While that may work for `rm -rf *`, it won't for `rm -rf foo/*`, `rm -rf foo`,
by Galanwe 3y ago
That seems flaky at best. Basically you rely on "*" expansion to inject the -i.
While that may work for `rm -rf *`, it won't for `rm -rf foo/*`, `rm -rf foo`, etc
- metal 3y agoThat's the point. You're not relying on it, it's a safety to save yourself from an unintended glob expansion.