Subject: bug#11271: dirname /home/dir/

From: Kevin Huanpeng Du <[email-masked]>
Date: Wed, 18 Apr 2012 19:01:29 +0800

Hi,
i find dirname dirname strip a dir name when a string with out a filename.

₤ dirname /dir/file
₤ /dir
₤ dirname /dir/subdir/
₤ /dir # is this right? subdir is a not a file.

Thanks,
Du Huangpeng