petdance/scratch — Issue #716: OS.cwd returns platform specific slashes...
Author: petdance
Created: 2011-11-14 06:12:23+00:00
State: open
Labels: core, Pri-normal, Sev-low, todo

... but some languages need a way to get agnostic slashes. Rather than have every HLL implement this, there should be some way to canonicalize the path, and a way to get the platform-specific path. (This will allow hlls to pick whichever method they prefer.)
I don't particularly care about the implementation, as long as I can make

```
C:\Tcl\bin>tclsh
% puts [pwd]
C:/Tcl/bin
```

work.

This issue originally opened as http://rt.perl.org/rt3/Ticket/Display.html?id=39853

Originally http://trac.parrot.org/parrot/ticket/1282 by coke (@coke)