[bug #56855] find -printf %h gives an empty string for the root directory '/'

raf <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #2, bug #56855 (project findutils):

I think that it's correct that "the dirname of the path" is the empty string
when the directory is the root directory. The root directory has no name. The
path separator ("/") is not a name. More importantly, this behaviour cannot
change because it has been in place for decades. Changing it could only cause
problems.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56855>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.