Article View: news.software.nntp
Article #55049Re: Announce: yEncoding - site with info has been created.
From: Marcus Mönnig
Date: Thu, 08 Nov 2001 11:53
Date: Thu, 08 Nov 2001 11:53
45 lines
2760 bytes
2760 bytes
On 08.11.01 9:56:05, The Archiver wrote: > "=?ISO-8859-1?Q?Marcus=20M=F6nnig?=" <minibbjd@gmx.net> wrote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Wrote that piece of software yourself? ;-) >>Generally, I like quotes a lot when parsing. > > Yes - I like it too. But if the first people want to post filenames with > quotes then this method still works. ;-) For good reasons, at least on Windows quotes are not allowed in filenames. Dunno about others OSes. > I hope you agree that placing the 'name=' at the end of a line is the > best method to offer best flexibility combined with minimum effort > for extracting the filename. name=myfile with spaces.dat Trivia: What's the name of the file? If your answer is "myfile with spaces.dat" (without the quotes), then you did not see the 4 spaces at the end of the name. That's why quotes are a good thing. On the other hand in the above example the spaces could have come in accidentally while the poster manually edited the filename before posting, so maybe we should trim spaces anyway, but what now: name= myfile with spaces.dat Trim the first 4 spaces and the last 4? Only the last 4? Even if I sound picky, as long as you don't use quotes, you are running into collisions. Marcus -- A Windows partition, if left unattended for even as much as a few months, can attain something akin to sentience[1] and become bent on destroying your drive. Real OS's, which have never had to deal with an attack of this nature, are powerless and fall back in disarray. -- Peter Dalgaard
Technical Details
Message-ID:
<37203.53739%dlg@40tude.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<3be943fa.12864292@news.alt.net> <37203.02644%dlg@40tude.com> <05569.8b1201@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <37203.53739%dlg@40tude.com> Subject: Re: Announce: yEncoding - site with info has been created. Date: Thu, 8 Nov 2001 12:53:51 +0100 From: "Marcus Mönnig" <minibbjd@gmx.net> References: <3be943fa.12864292@news.alt.net> <37203.02644%dlg@40tude.com> <05569.8b1201@archiver.winews.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.nntp Organization: T-Online Lines: 44 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1005220432 01 1692 EdBrTcaSyAGC3 011108 11:53:52 X-Complaints-To: abuse@t-online.com X-Sender: 520046593153-0001@t-dialin.net User-Agent: Ambassador/0.9.16.133 (249a9fa3.20.475)