This question already has an answer here:
- How to clean stdout/stderr color output 2 answers
I am trying to clean all color control characters from log file. I am able to clean all other control characters except
^[(B . Please help me to clean this control character also.
I am using these combination to clean control characters.
cat $LOGFILE | sed -e 's/\x1b\[[0-9;]*m//g' > $LOGDIR/Temp.txt