bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tiny error in manpage


From: Gert Robben
Subject: Tiny error in manpage
Date: Sat, 28 Sep 2024 21:40:24 +0200
User-agent: Mozilla Thunderbird

With --tries you can specify how often wget should try a download.
That is so in practice, as well as according to the manpage.

In practice the default appears to be 20 tries, which means 19 retries.
But the manpage says "The default is to retry 20 times".

That same word mixup was encountered here:
https://lists.gnu.org/archive/html/bug-wget/2013-05/msg00057.html
The chosen solution was, to change "retries" to "tries" in the manpage.
It appears the above quoted sentence was simply overlooked at the time.

Here is my test result:
$ wget -4 -o- --timeout=0.1 http://example.com:31337/ |sort|uniq -c
     20
      1 --2024-09-28 20:35:15--  http://example.com:31337/
      1 --2024-09-28 20:35:16--  (try: 2)  http://example.com:31337/
      1 --2024-09-28 20:35:18--  (try: 3)  http://example.com:31337/
      1 --2024-09-28 20:35:21--  (try: 4)  http://example.com:31337/
      1 --2024-09-28 20:35:25--  (try: 5)  http://example.com:31337/
      1 --2024-09-28 20:35:30--  (try: 6)  http://example.com:31337/
      1 --2024-09-28 20:35:36--  (try: 7)  http://example.com:31337/
1 --2024-09-28 20:35:43-- (try: 8) http://example.com:31337/ 1 --2024-09-28 20:35:51-- (try: 9) http://example.com:31337/ 1 --2024-09-28 20:36:01-- (try:10) http://example.com:31337/ 1 --2024-09-28 20:36:11-- (try:11) http://example.com:31337/ 1 --2024-09-28 20:36:21-- (try:12) http://example.com:31337/ 1 --2024-09-28 20:36:31-- (try:13) http://example.com:31337/ 1 --2024-09-28 20:36:41-- (try:14) http://example.com:31337/ 1 --2024-09-28 20:36:51-- (try:15) http://example.com:31337/ 1 --2024-09-28 20:37:01-- (try:16) http://example.com:31337/ 1 --2024-09-28 20:37:11-- (try:17) http://example.com:31337/ 1 --2024-09-28 20:37:21-- (try:18) http://example.com:31337/ 1 --2024-09-28 20:37:31-- (try:19) http://example.com:31337/ 1 --2024-09-28 20:37:42-- (try:20) http://example.com:31337/ 20 Connecting to example.com (example.com)|93.184.215.14|:31337... failed: Connection timed out. 1 Giving up. 1 Resolving example.com (example.com)... 93.184.215.14
     19 Retrying.

I use (the "wget_1.21.3-1+b2_amd64.deb" package from) Debian 12.
But I see that manpage text is the same in the latest upstream.

I'm not subscribed, but I don't mind being left out of further discussion.
Thanks, Gert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]