From: Zaumseil R. <RZa...@kk...> - 2025-05-13 15:28:32
|
Hello I have the following strange behaviour under Windows 10 with tcl_patchLevel=9.0.0 (bin) 1 % set tcl_patchLevel 9.0.0 (bin) 2 % glob Z:/Basistests/200* Z:/Basistests/2000_00_00 {Z:/Basistests/2000_00_00 - Test} (bin) 3 % glob -types d Z:/Basistests/200* Z:/Basistests/2000_00_00 {Z:/Basistests/2000_00_00 - Test} (bin) 4 % glob -types d -directory Z:/Basistests -tails Z:/Basistests 200* Z:Basistests 2000_00_00 {2000_00_00 - Test} (bin) 5 % glob -types d -directory Z:/Basistests -tails Z:/Basistests Z:/Basistests/200* couldn't read directory "Z:/Basistests/Z:Basistests/200*": not a directory Under tcl8 I got: (ABS) 1 % glob -types d -directory Z:/Basistests -tails Z:/Basistests 200* 2000_00_00 {2000_00_00 - Test} (ABS) 2 % glob -types d -directory Z:/Basistests -tails Z:/Basistests Z:/Basistests/200* no files matched glob patterns "Z:/Basistests Z:/Basistests/200*" The additional string "Z:Basistests" on command 4 is wrong. Even more perplexing is the following (under Tcl/Tk 9.0.0): (ABS) 1 % glob -types d -directory Z:/Basistests -tails Z:/Basistests 200* Z:Basistests 2000_00_00 {2000_00_00 - Test} (ABS) 2 % cd Z:Basistests (Basistests) 3 % pwd Z:/Basistests (Basistests) 4 % cd C: () 5 % cd Z:Basistests (Basistests) 6 % cd 2000_00_00 (2000_00_00) 7 % cd Z:Basistests couldn't change working directory to "Z:Basistests": no such file or directory (2000_00_00) 8 % Any ideas? Regards Rene |