[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Basename bug with directory spaces
From: |
csu16451 |
Subject: |
Basename bug with directory spaces |
Date: |
Sun, 20 May 2007 02:35:38 -0400 |
User-agent: |
Internet Messaging Program (IMP) 3.2.5 |
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
- Basename bug with directory spaces,
csu16451 <=