[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [Bug-Wget][Patch] Implement --show-progress
From: |
Gisle Vanem |
Subject: |
Re: [Bug-wget] [Bug-Wget][Patch] Implement --show-progress |
Date: |
Thu, 1 May 2014 23:58:54 +0200 |
"Darshit Shah" <address@hidden> wrote:
In a gist, this patch:
1. Cleans up output in case of dot-style progress bar by not printing extra
newlines when not needed
2. Ensures all the columns are perfectly aligned in all (?) cases
Not quite; as you said the indenting on >1 lines is a feature. Okay, but the
" --.-K/s" is indented 2 spaces relative to the 1st line and the
"in 0.004s" is indented 1 space. As in this example:
wget.exe -rApng --show-progress -q ftp://ftp.watt-32.net/watt-doc/
ftp.watt-32.net/watt-doc/.listing [ <=> ] 56,013
77.2KB/s in 0.7s
tp.watt-32.net/watt-doc/doxygen.p 100%[========================>] 1,576
--.-K/s in 0.004s
tp.watt-32.net/watt-doc/ftv2blank 100%[========================>] 174
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2doc.p 100%[========================>] 255
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2folde 100%[========================>] 259
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2folde 100%[========================>] 261
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2lastn 100%[========================>] 233
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2link. 100%[========================>] 358
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2mlast 100%[========================>] 160
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2mnode 100%[========================>] 194
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2node. 100%[========================>] 235
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2plast 100%[========================>] 165
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2pnode 100%[========================>] 200
--.-K/s in 0s
tp.watt-32.net/watt-doc/ftv2vertl 100%[========================>] 229
--.-K/s in 0.001s
This maybe have something to with the ".listing" file since with HTTP all looks
okay.
(use proportional fonts to see the above misalignment).
--gv