A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-July/036682.html below:

[Python-Dev] Problem with 2.3b2 tarfile?

[Python-Dev] Problem with 2.3b2 tarfile? [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.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4