Andreas Schwab wrote:
[EMAIL PROTECTED] (Frank Schruefer) writes:
Hy,
At first:
dirname /home/merlin/whatever/../another
delivers:
/home/merlin/whatever/..
That's how dirname is specified by POSIX.
As I said later in that post: dirname is *not* buggy.
It's just not very useful the way it is and I'd like
to add some command-line options to it.
dirname /home/merlin/whatever/text\/stuff.txt
delivers:
/home/merlin/whatever/text
That's equivalent to
dirname /home/merlin/whatever/text/stuff.txt
so completely correct. If you mean
dirname /home/merlin/whatever/text\\/stuff.txt
then you should write that.
Andreas.
--
Thanks,
Frank
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils