On Fri, Aug 07, 2015 at 04:14:45PM +0200, Tim Ruehsen wrote: > Hi Andries, > > as I already mentioned, changing the default behavior of wget is not a good > idea. > > But I started a wget2 branch that produces wget and wget2 executables. > wget2's default behavior is to keep filenames as they are. > > I am not sure how it compiles and works on Windows (Cygwin could work). > If you dare to check it out: any feedback is highly welcome. > > Regards, Tim
Hi Tim, I disagree. This is just a bug. Nobody wants illegal filenames. Even removing them is not entirely trivial since the filenames produced by wget are not legal character sequences, so cannot be typed. So, I think this should be fixed, for example with my one-liner fix, but I am quite happy to do something more complicated if that is what people prefer. I am a Linux man, no Windows computers here. So, I am happy to do stuff on Linux, but cannot test on Windows. Andries