wget is wonderfully useful. Thank you for your efforts!

Try this:

wget -SO - --limit-rate=17 jasonwoof.com/downloads/tiny.txt

When I do that the output is obliterated by the progress bar (which
is also messed up.) It looks something like this:

 0% [                 ] 0           --.-K/s             T
68% [=========>       ] 17          16.9B/s             e
100%[================>] 25          17.0B/s   in 1.5s   


When I pipe the output to a pager, the pager gets messed up by the
progress meter going (I presume) to stderr.

I was able to get rid of the progress meter with the -q switch, but
was quite annoyed to find that the -q switch makes the -S switch
stop working. I eventually found the --save-headers switch, which
enabled me to get what I wanted:

wget -O - --save-headers -q jasonwoof.com/downloads/tiny.txt

So, perhaps some alteration of the man page is in order.

Here are my suggestions:

1) make the -S switch output the headers even if -q or -nv are
specified.

2) in the -S section of the man page add "see also: --save-headers"

3) add support for turning off the progress bar with
--progress=none

4) perhaps disable the progress bar if -O - is specified

Best regards,

- Jason

---- PGP signature attached. See http://jasonwoof.com/pgp.html ----

Attachment: pgpMUxeF0oIwC.pgp
Description: PGP signature

Reply via email to