[Bug 1120917] [NEW] annotate-output should preserve whitespace

Alex Dehnert 1120917 at bugs.launchpad.net
Sun Feb 10 06:39:52 UTC 2013


Public bug reported:

annotate-output currently clobbers line-initial whitespace, and also interprets backslash sequences:
adehnert at esp:~$ annotate-output echo '   foo\\'
01:37:31 I: Started echo    foo\\
01:37:31 O: foo\
01:37:31 I: Finished with exitcode 0

I believe the attached patch fixes both these issues.

Thanks,
Alex

** Affects: devscripts (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "annotate-output.patch"
   https://bugs.launchpad.net/bugs/1120917/+attachment/3522773/+files/annotate-output.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/1120917

Title:
  annotate-output should preserve whitespace

Status in “devscripts” package in Ubuntu:
  New

Bug description:
  annotate-output currently clobbers line-initial whitespace, and also interprets backslash sequences:
  adehnert at esp:~$ annotate-output echo '   foo\\'
  01:37:31 I: Started echo    foo\\
  01:37:31 O: foo\
  01:37:31 I: Finished with exitcode 0

  I believe the attached patch fixes both these issues.

  Thanks,
  Alex

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1120917/+subscriptions




More information about the foundations-bugs mailing list