Re: Windows vs. Linux



On 2006-08-01 12:31:01, Sybren Stuvel wrote:

Ehm... replace that with "the latter with bonk on every OS except
Microsoft Windows". Windows is the weird one in OS-land, because they
are the only one that use the most widely used escape-character (the
backslash) as path separator.

Is that really true? From what I know, it's more like this:

- Unix-type systems: '/'
- Windows-type systems: '\'
- Mac OS: ':'
- OpenVMS: '.'
- ...

Maybe someone else can fill in some of the missing OSes. It doesn't seem to
look like Windows is the odd man out; it rather seems that every type of OS
uses its own separator. (URLs probably use the slash because the internet
protocols have been developed largely on Unix-type systems for use with
Unix-type systems?)

Gerhard

.



Relevant Pages

  • Re: The format of filename
    ... Windows lets me use '/' as a path separator, ... The syntax of the command is incorrect. ...
    (comp.lang.python)
  • Re: Path Separator and Windows
    ... >> Using ruby 1.8.2 on Windows XP, the path separator used for things like ... Is there a way to force ruby to use ... Windows command line and executing commands with / in paths passed as ...
    (comp.lang.ruby)
  • Re: Opinion) Overuse of symbolic constants
    ... >> that use slashes, or a mix of slashes and backslashes, for path ... I assume I am not the only Windows ... > Do you see slashes in the source code for Windows software, ... > programs avoid using '/' as a path separator, ...
    (comp.lang.c)
  • Re: Opinion) Overuse of symbolic constants
    ... > that use slashes, or a mix of slashes and backslashes, for path ... I assume I am not the only Windows ... programs avoid using '/' as a path separator, ... I am a Windows user, but I'm not a Windows programmer. ...
    (comp.lang.c)
  • Re: Path Separator and Windows
    ... >> Using ruby 1.8.2 on Windows XP, the path separator used for things ... >> ruby to use the correct path separator? ... Except that not all Windows functions accept '/' for a path separator. ...
    (comp.lang.ruby)