Hi, I'm trying to write an interactive bash script. I'm using some ansi control sequences : format (color, blink,...) and cursor position, to make things easier for the administrator (also me). But now I've realized that if I want to log directly the output to a file, this file becomes more difficult to parse. Ok, I can remove relatively easily format sequences throw regexp, but cursor position movements are not so easy to "translate". I've googled for a while and found nothing.
Does someone know a cool way (gnu tool, library...) to filter ansi control sequences (there are a tone) to plain text / html (preserving format,...),...
Thanks a lot