Package: wget
Version: 1.10.2-2
Severity: minor
Tags: patch

I believe that there is a bug in the manpage wget(1).
/usr/share/man/man1/wget.1.gz

The example involving follow/no-follow says the opposite of what I expect.

If I understand the example, then:

normal factory default: off (no-follow)
local default set in wgetrc: on (follow)
user option needed to restore default: (no-follow)

I therefore propose the attached patch (relative to the etch version of
wget, but the same goes for the current lenny version).

I hope this helps. Best wishes and thanks...

Jeremy


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages wget depends on:
ii  libc6                  2.3.6.ds1-13etch8 GNU C Library: Shared libraries
ii  libssl0.9.8            0.9.8c-4etch4     SSL shared libraries

wget recommends no packages.

-- no debconf information
--- wget.1      2006-06-28 17:41:30.000000000 +0100
+++ wget.1.new  2009-01-21 12:44:58.000000000 +0000
@@ -228,8 +228,8 @@
 \&\fB\-\-no\-\fR prefix.  This might seem superfluous\-\-\-if the default for
 an affirmative option is to not do something, then why provide a way
 to explicitly turn it off?  But the startup file may in fact change
-the default.  For instance, using \f(CW\*(C`follow_ftp = off\*(C'\fR in
-\&\fI.wgetrc\fR makes Wget \fInot\fR follow \s-1FTP\s0 links by default, and
+the default.  For instance, using \f(CW\*(C`follow_ftp = on\*(C'\fR in
+\&\fI.wgetrc\fR makes Wget \fIfollow\fR \s-1FTP\s0 links by default, and
 using \fB\-\-no\-follow\-ftp\fR is the only way to restore the factory
 default from the command line.
 .Sh "Basic Startup Options"

Reply via email to