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 <[email protected]> - 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)

