Hello,

I was attempting to use the "basename" utility and I noticed that it incorrectly
reports the basename of the current working directory when there is a space in
the directory name.

For example:

cd /home/ben/My\ Stuff
basename $PWD

outputs "My"

cd /home/ben/My\ Stuff
pwd

outputs /home/ben/My Stuff


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to