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