[wget-notify] [bug #23455] Windows version inserts extra carriage returns with -O-

anonymous INVALID.NOREPLY at gnu.org
Sun Jun 1 15:37:03 PDT 2008


URL:
  <http://savannah.gnu.org/bugs/?23455>

                 Summary: Windows version inserts extra carriage returns with
-O-
                 Project: GNU Wget
            Submitted by: None
            Submitted on: Sunday 06/01/2008 at 22:37 UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.11.3
        Operating System: Microsoft Windows
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: No
           Work Required: None
          Patch Included: No

    _______________________________________________________

Details:

Using the Windows version of wget,

wget -q -O- http://example.com/FILE > OUT

If FILE originally had LF line endings, OUT will have CRLF line endings.

If FILE originally had CRLF line endings, OUT will have CRCRLF (!) line
endings.

This only happens with the Windows version (compiled with MinGW compiler),
and only when using -O to write to standard output.  Bug does not occur
without -O or with explicit output file, e.g., -O OUT.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?23455>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



More information about the wget-notify mailing list