GNU bug report logs - #11271
dirname /home/dir/

Previous Next

Package: coreutils;

Reported by: Kevin Huanpeng Du <q24688 <at> gmail.com>

Date: Wed, 18 Apr 2012 16:19:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Huanpeng Du <q24688 <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: dirname /home/dir/
Date: Wed, 18 Apr 2012 19:01:29 +0800
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.