While working on my {base,dir}name patches for // handling, I
also spent some time editing tests/basename/basic to and creating
tests/dirname/basic. In the process, I came across the other
implementation-defined behavior, namely what basename ''
should return. POSIX allows either '' or '.'.
[EMAIL PROTECTED] (Eric Blake) writes:
Currently, coreutils returns ''. I don't want to change this unless
anyone else thinks it should be changed for compatibility. Comments?
I don't see how it matters either way. Unless we see a reason to
change it I'd leave it alone too.