On 2019-08-12 17:45:42 -0300, Jesse Smith wrote: > On 8/12/19 4:30 PM, Dmitry Bogatov wrote: > > [2019-08-11 18:08] Jesse Smith <jsm...@resonatingmedia.com> > >> I tried it and the "head", "cat" and "tail" commands mangle the lines > >> of the log file when escape sequences are not escaped. Output from > >> "less" is clean though and looks correct. > > Interesting. Can you please send text that shows this behaviour? > > > Certainly. Attached is a file with the last 20 lines of the > /var/boot/log file on a test machine. When I view the log with "less" > the output looks normal.
With "less", it is *not* correct. > When I run the file through "head" "tail" or "cat" the "[ ok" part > of the message line appears at the beginning of the text. just because text has been corrupted by bootlogd. That was *not* text that was sent the console as documented in the bootlogd(8) man page. FYI, with /var/log/boot.log under systemd, there is no such an issue. -- Vincent Lefèvre <vinc...@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)