From: Robert Klemme Date: 2003-10-09T22:52:59+09:00 Subject: Re: Antwort: Re: SEPARATOR doesn't work schrieb im Newsbeitrag news:OFD475C346.5D134A27-ONC1256DBA.003E7FD3@gdm.de... > > > > > Thanks....just learned another thing. > It works fine, however there seems to be a bug or anything like this. At > least in my (v1.6) version of Ruby File::SEPARATOR returns / on both, BSD > and Win32. Is this normal? If it is a cygwin built it's not an error since cygwin uses unix file name conventions. If it's not cygwin, it's likely to be a bug. But I can't really remember whether was a bug, because 1.6 is way old... You should get yourself a new version. > I intended to split a user given paht in its components. Thus needing it > (or not?). You should use: dir, name = File.split( path ) Cheers robert