Re: .1, .2 before suffix rather than after

2007-11-06 Thread Andreas Pettersson

Hrvoje Niksic wrote:

It just occurred to me that this change breaks backward compatibility.
It will break scripts that try to clean up after Wget or that in any
way depend on the current naming scheme


I'm also a bit hesitant about changing the way files get named.

With a .1 at the absolute end of the filename I _know_ this file got its 
name because there already was a file with the same name. If the new 
file instead is named filename-1.jpg I cannot be certain if this is 
because of a file collision, or if the original file really had this 
name, which of course it might have had.


If a script is supposed to restore the original filename of a downloaded 
file (perhaps for future downloads), it's easy to just cut the trailing 
number, it there is one. How could that be done in an easy and secure 
way if there is an eventual number before the extension, a number that I 
don't even know if it's part of the original filename or not?


And already having local files named -1.ext is not so uncommon. What 
happens if there is a local file with that name? -2.ext could be the 
answer, but that makes it really difficult to find downloaded files 
programmatically.


And how is .tar.gz renamed?  .tar-1.gz?

Sorry, but I'm not so sure about this..

--
Andreas




Re: css @import parsing

2007-10-14 Thread Andreas Pettersson

Andreas Pettersson wrote:

Have there been any progress with this patch since this post?
http://www.mail-archive.com/wget@sunsite.dk/msg09502.html

*bump*

Anyone knows the status of this?

--
Andreas




Re: ignoring robots.txt

2007-07-19 Thread Andreas Pettersson

Daniel Stenberg wrote:

On Wed, 18 Jul 2007, Micah Cowan wrote:

The manpage doesn't need to give as detailed explanations as the info 
manual (though, as it's auto-generated from the info manual, this 
could be hard to avoid); but it should fully describe essential 
features.


I know GNU projects for some reason go with info, but I'm not in fan 
of that.
Personally I always just use man pages and only revert to using info 
pages when forced. I simply don't like it when projects hide 
information in info pages.


Being a FreeBSD user since a couple of years back, reading this thread 
is the first time I've stumbled upon 'info', actually.


--
Andreas




css @import parsing

2007-07-04 Thread Andreas Pettersson

Hi list.

Have there been any progress with this patch since this post?
http://www.mail-archive.com/wget@sunsite.dk/msg09502.html

Getting @import url's to work correctly is on the top of my wishlist and 
I'm very grateful for everything that's being done.


Best regards,

--
Andreas