[Bug 14411] New: --out-format is broken when using embedded whitespace (newline, tab)

samba-bugs at samba.org samba-bugs at samba.org
Tue Jun 16 20:34:27 UTC 2020


            Bug ID: 14411
           Summary: --out-format is broken when using embedded whitespace
                    (newline, tab)
           Product: rsync
           Version: 3.1.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: wayne at opencoder.net
          Reporter: eharris at puremagic.com
        QA Contact: rsync-qa at samba.org
  Target Milestone: ---

When trying to use --out-format to emulate some info provided by --progress, I
discovered that it is impossible to make multiline log formats (it
removes/ignores newlines completely), and also changes tab characters into the
character sequence "\#012" plus the wanted tab.

Example (with tabs shown as \t):

> rsync -a '--out-format=%n
\t%l %b' blah/ blah2/
file1\#012      21310 21353
file2\#012      10654 10697

You are receiving this mail because:
You are the QA Contact for the bug.

More information about the rsync mailing list