Will Coleda wrote:
> Since both tcl and perl seem to like this style (but I'm sure some
> languages need truly native representations), I'd propose that the OS
> PMC give a way to say which is preferred.

I agree.

As another note, many programs are fine with forward slashes, including
Microsoft's Visual C++ compiler and Windows PowerShell.

Python seems to prefer the native representation, but also fine with
forward slashes.

C:\>python
ActivePython 2.4.3 Build 12 (ActiveState Software Inc.) based on
Python 2.4.3 (#69, Apr 11 2006, 15:32:42) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from os import getcwd, chdir
>>> print getcwd()
C:\
>>> chdir("C:/tmp")
>>> print getcwd()
C:\tmp


Ruby seems to like the forward slashes.

C:\tmp>ruby
require 'Shell'
puts Shell.new.cwd
^Z
C:/tmp


Will this slashing madness ever end?

Ron

Reply via email to