Possible bug in std.path?
ag0aep6g via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 20 03:01:25 PDT 2016
On Monday, 20 June 2016 at 02:19:22 UTC, Hugo wrote:
> Perhaps I should have said unusual rather than non-standard.
> But if you want to understand better what I mean, try doing
> this in the command line, it works correctly:
>
> cd \
> mkdir test
> cd test\
> mkdir "..\second test\"
> cd "..\second test\"
On the other hand, the way D gets the arguments is the same as in
C/C++. Doing it differently than that would be unusual, too.
Either way, someone is going to be surprised. I would guess that
you're in the minority here with your expectation. It's better
then to surprise you than the majority of people who expect the
same behavior as in C/C++ programs.
More information about the Digitalmars-d
mailing list