Michael Jennings <[EMAIL PROTECTED]> writes:

> 1) There is a very small bug in WGet version 1.8.1. The bug occurs
>    when a .wgetrc file is edited using an MS-DOS text editor:
> 
> WGet returns an error message when the .wgetrc file is terminated
> with an MS-DOS end-of-file mark (Control-Z). MS-DOS is the
> command-line language for all versions of Windows, so ignoring the
> end-of-file mark would make sense.

Ouch, I never thought of that.  Wget opens files in binary mode and
handles the line termination manually -- but I never thought to handle
^Z.

As much as I'd like to be helpful, I must admit I'm loath to encumber
the code with support for this particular thing.  I have never seen it
before; is it only an artifact of DOS editors, or is it used on
Windows too?

Reply via email to