----On 09/04/2012 10:46 AM, Linda A. Walsh wrote:I would assert that the trailing "." shouldn't be stripped either.If we were designing anew, I'd be inclined to agree with you. But there are probably people expecting the standard behavior now,
Usability, Expressiveness.and there's an argument for not departing from the standard unless there's a good reason.
Ok, will foo/ remove the contents only and not the directory?Here, if we can provide a command "rm -fr foo/" to do what you want, then I hope it's merely a minor glitch that "rm -fr foo/."