1.5.18: tclsh's glob and relative paths containing ".."
Sebastian Schuberth
s.schuberth@tu-bs.de
Thu Sep 15 09:05:00 GMT 2005
Hi,
I'm running the following simple script under tclsh 8.4:
puts stdout [glob ../common/*.cpp]
For some reason this returns *absolute* paths to the matching files, e.g.
d:/Development/common/test.cpp
instead of the expected
../common/test.cpp
Using ActiveTcl and under Linux the script works as expected. Relative
paths that do not contain ".." also work fine under all platforms, incl.
Cygwin. Any insights?
--
Sebastian Schuberth
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050915/af014bd4/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list