Bug#672361: bootlogd: escape sequences should be filtered out

Vincent Lefevre vincent at vinc17.net
Mon Aug 12 08:26:38 BST 2019


On 2019-08-11 18:08:55 -0300, Jesse Smith wrote:
> I wasn't speaking theoretically. I tried it and the "head", "cat" and
> "tail" commands mangle the lines of the log file when escape sequences
> are not escaped.

There might be problems with some implementations of these utilities
due to binary data, but AFAIK, coreutils implementation is fine with
escape sequences.

> Output from "less" is clean though and looks correct.

If this is correct with "less", then there should be no issues with a
decent implementation of "cat", "head" and "tail".

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




More information about the Debian-init-diversity mailing list