I tride to duplicate the output of the ninja
build system to the separate file but I want to save original campresed look of the ninja
output.
If I tee
ninja (ninja all | tee -a someFile
) I get wall of text enter image description here
Instead of updating one line.
If there is a better way to duplicate the output of ninja
to file without loosing the compress formatig of output please let me know!
UPD: I find out that ninja
update lines with [K
escape sequence
(erasing the line) and after capturing or rederecting ninga
output it vanishing. If some body know how to allowed system to capture all tipy of escape sequence, it will solve my problem