Jim Meyering wrote: > Also, POSIX requires the current behavior. Yes, sadly from my reading of susv3 and posix, it does. Which kinda squelches the whole idea.
Anyway, posix does not specify the error message to use when encountering './', and IMHO this is a fairly startling error message to see unless one has read rmdir(2). Especially since the command has actually probably removed all the directories you expected it to before failing like this: rmdir: .: Invalid argument A message like this would be much clearer: rmdir: Not removing directory "." (Invalid argument) -- see shy jo
signature.asc
Description: Digital signature