Skip to content
Prev 34078 / 63421 Next

basename returns "." not in filename (PR#13958)

joehl at web.de wrote:
Command line utility does likewise:

viggo:~/>basename ./
.

Point is, I gather, that trailing slashes are removed, e.g.,

viggo:~/>basename foo/
foo

So, not a bug.