Y
Hacker News
new
|
ask
|
show
|
jobs
by
Galanwe
913 days 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
1 comments
metal
913 days ago
That's the point. You're not relying on it, it's a safety to save yourself from an unintended glob expansion.
link