[Python-Dev] Problem with 2.3b2 tarfile? (original) (raw)
Tim Peters tim.one@comcast.net
Tue, 1 Jul 2003 11:15:35 -0400
- Previous message: [Python-Dev] Problem with 2.3b2 tarfile?
- Next message: [Python-Dev] Problem with 2.3b2 tarfile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
... [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.
- Previous message: [Python-Dev] Problem with 2.3b2 tarfile?
- Next message: [Python-Dev] Problem with 2.3b2 tarfile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]