bug-wget
[Top][All Lists]
Advanced

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

[bug #61733] dot_finish() doesn't print the newline when wget is run wit


From: anonymous
Subject: [bug #61733] dot_finish() doesn't print the newline when wget is run with the --no-verbose option
Date: Mon, 27 Dec 2021 10:05:07 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0

URL:
  <https://savannah.gnu.org/bugs/?61733>

                 Summary: dot_finish() doesn't print the newline when wget is
run with the --no-verbose option
                 Project: GNU Wget
            Submitted by: None
            Submitted on: Mon 27 Dec 2021 03:05:03 PM UTC
                Category: User Interface
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Nik Soggia
        Originator Email: wget@niksoggia.it
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
        Operating System: GNU/Linux
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: None
           Work Required: None
          Patch Included: Yes

    _______________________________________________________

Details:

Here is how to reproduce the bug:

$ wget --no-verbose --show-progress --progress=dot:giga
https://ftp.gnu.org/gnu/wget/wget-1.21.2.tar.lz

     0K ..                                 100% 2,18M=1,0s2021-12-27 16:03:00
URL:https://ftp.gnu.org/gnu/wget/wget-1.21.2.tar.lz [2407790/2407790] ->
"wget-1.21.2.tar.lz" [1]

The problem lies in the fact dot_finish() prints the newline when verbosity is
at least "normal" instead of always doing it.
I attach my proposed solution.
Cheers,




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 27 Dec 2021 03:05:03 PM UTC  Name: wget-1.21.2.patch  Size: 402B  
By: None
always print the end of line in dot_finish()
<http://savannah.gnu.org/bugs/download.php?file_id=52572>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61733>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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