Subject: bug#6123: basename/dirname are not POSIX compliant on arg starting with a dash

From: Vincent Lefevre <[email-masked]>
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 <[email-masked]> - 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)