On Wed, 4 Sep 2002, Brett Schwarz wrote: > Just curious, 'file tail' did not work for you? I thought it worked > cross platform...
It would if the backslashes were converted to forward slashes. (It ought
to work with backslashes under Windows.)
% set tcl_platform(os)
Linux
% file tail {c:\windows\foo.bar}
c:\windows\foo.bar
% file tail [string map [list \\ /] {c:\windows\foo.bar}]
foo.bar
Michael
