This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Tcl file separator


From: Nellis, Kenneth
> I'm thinking that Cygwin Tcl's "pwd" should match Cygwin's and
> that "file separator" should return a Linux one.
> 
> knellis@COBQDPPJ1 ~
> $ pwd
> /cygdrive/d/cyghome/knellis
> 
> knellis@COBQDPPJ1 ~
> $ /cygdrive/c/cygwin/bin/tclsh84.exe
> % pwd
> D:/cyghome/knellis
> % file separator
> \
> %

I was hoping my OP would get some traction.
It seems the basic purpose of Tcl's set of "file" commands
is to allow one to write platform-independent scripts that
need to manipulate pathnames. The Cygwin implementation seems 
to be broken.

--Ken Nellis

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]