In addition to ArchLinux - yaourt: save updatelog?
tee I am able to get the output at a file and at the terminal at the same time.
But when I execute
yaourt -Syu | tee yaourt.log in a bash file (which is executed in a terminal) the output of yaourt does not have the usual colors (no colors). Also (sure) when opening the text file you cannot see colors.
- Is it possible to still see the color formatting of yaourt when executing the above command via a bash script?
- Is it possible to see the saved text in the same color formatting later again?