: <i>Incompatible behaviour of "file exists"</i> plus 7 other changes
by
.
D 2013-03-18T20:03:27
J closedate 2013-03-18T13:03:27
J closer nijtmans
J icomment On\sUNIX\s(actually\sCygwin):\n$\stclsh8.5\n%\sputs\s$tcl_patchLevel\n8.5.13\n%\sglob\s*.tcl\nx.tcl\n%\sfile\sexists\s*.tcl\n0\n\n$\stclsh8.6\n%\sputs\s$tcl_patchLevel\n8.6.0\n%\sglob\s*.tcl\nx.tcl\n%\sfile\sexists\s*.tcl\n0\n%\sexit\n\n\nConclusion:\sthe\sfact\sthat\susing\sthe\s'*'\scharacter\sthis\sway\nin\s[file\sexists]\sworked\sat\sall\sin\swin32\swas\san\sundocumented\nfeature\sand\sis\snon-portable.\sOn\sUNIX,\sthe\s'*'\scharacter\scan\sbe\nused\sin\sfilenames\slike\sany\sother\scharacter,\sonly\sit\smust\sbe\nescaped\sif\sthe\sfilename\sgoes\sthrough\sa\sshell.\n
J login nijtmans
J mimetype text/plain
J resolution Invalid
J status Pending
J username nijtmans
K 3608360fffffffffffffffffffffffffffffffff
U nijtmans
Z 269da0235e94c2d8dcb8d084e9af7ae5