[Python-Dev] Problem with 2.3b2 tarfile?
Tim Peters
tim.one@comcast.net
Tue, 1 Jul 2003 11:15:35 -0400
[sismex01@hebmex.com]
> ...
> [WinNT and it's descendants have no problem using
> multiple dots in a filename. What version are you
> having trouble with?]
Note Sjoerd's
and all these file names should end in "..."
It's trailing periods. Here on Win2K (cmd.exe):
C:\Code>echo fine > abc...def
C:\Code>dir/b ab*
abc...def
C:\Code>echo oops > abc......
C:\Code>dir/b ab*
abc
abc...def
C:\Code>dir/b abc.*
abc
abc...def
C:\Code>dir/b abc..*
abc...def
C:\Code>
This isn't unique to cmdline redirection; e.g., passing 'abc......' as a
file name to open() also strips the trailing periods in the filename
actually created.