vaeth / logclean

Keep only compressed logs of installed packages (for Gentoo's portage system)
http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/index.html#logclean
5 stars 0 forks source link

clean more escape sequences #2

Closed Alessandro-Barbieri closed 5 years ago

Alessandro-Barbieri commented 5 years ago

stuff like this  *  doesn't get cleaned see https://gist.github.com/Alessandro-Barbieri/6628c59a3b60913627363bee10da599c for an example

vaeth commented 5 years ago

Not reproducible; here, uncolor works. logclean relies on "colorstrip" from Term::ANSIColor for this which should be available with all current perl version. Maybe the one in your perl version is buggy (I am using perl-5.30.0 here.) You can try triggering it explicitly with logclean uncolor log-filename (I do not remember, but I suppose the logfile still has to be uncompressed for this call).

Alessandro-Barbieri commented 5 years ago

I see. I tried manually and it works. Seems that the original .log file it's not uncolored. I have now another question then, but i'll open a new issue.