bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dirname] fix documentation when using on a full directory path


From: Emmanuel Lacour
Subject: [dirname] fix documentation when using on a full directory path
Date: Fri, 12 Feb 2010 17:05:33 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi,

coreutils 6.10-6 (debian lenny x86 32bit)

when we use "dirname /full/directory/path/" we get "/full/directory/",
but documentation say:

dirname - strip non-directory suffix from file name
                ^^^^^^^^^^^^^^^^^^^^

so either there is a need to update the documentation to say it is
removing the last component (wether it's a dir or a file) or fix dirname
so it returns "/full/directory/path/".





reply via email to

[Prev in Thread] Current Thread [Next in Thread]