According to Voelker, Bernhard on 2/26/2010 6:27 AM: > > This would just be an extension and one could alias rm to use that option.
You can already alias rm to use 'rm -i' to ask always, or even the less-invasive 'rm -I' to ask only when encountering multiple arguments or starting recursion. But some (including myself) will argue that relying on aliases is already a weak point in your strategy. Furthermore, GNU rm already refuses to operate on / unless you use --no-preserve-root. But that is different than the original problem reported of using rm in $HOME. But the point remains - such "helps" can only be enabled via an extension (since they change the POSIX-specified behavior), and thus do no good if a user does not request that extension. -- Don't work too hard, make some time for fun as well! Eric Blake [email protected]
signature.asc
Description: OpenPGP digital signature
