GNU bug report logs - #6123
basename/dirname are not POSIX compliant on arg starting with a dash

Previous Next

Package: coreutils;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Thu, 6 May 2010 11:36:01 UTC

Severity: normal

Tags: notabug

Merged with 6124

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vincent Lefevre <vincent <at> vinc17.net>
To: 6123 <at> debbugs.gnu.org, 580492 <at> bugs.debian.org
Subject: bug#6123: basename/dirname are not POSIX compliant on arg starting with a dash
Date: Thu, 6 May 2010 13:31:45 +0200
A practical example of a failure could be when one uses

  dirname "$0"

in a rc file and the shell happens to be a login shell.

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)





This bug report was last modified 14 years and 117 days ago.

Previous Next


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