Package: dpkg
Version: 1.15.8.13
Severity: wishlist

Seems that dpkg does some tricks using ^M on stdout, even
if it is writing into a logfile. Sample:

:
Package installation log:
^MExtracting templates from packages: 33% ^MExtracting templates from packages: 
67%^M Extracting templates from packages: 100%
:
:

Problem is: If heirloom-mailx provides /usr/bin/mailx, then
the unattended-upgrades logs are mailed as application/octet-stream
due to the ^M. Makes it very hard to read in the MUA. Using
bsd-mailx there is no such problem.

Would it be possible to use a newline instead of ^M, if
stdout is not bound to a terminal?


Many thanx
Harri


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to