[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.

> 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.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux AG, Maxfeldstra�e 5, 90409 N�rnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to