[comp.unix.questions] Filtering escape codes from text files

root@qfagus.OZ (Super user) (01/24/91)

Can someone please tell me how to filter escape codes
from a text file?

I'm using `cu' to connect to a remote computer which
uses things like reverse video.  The only way I have
of printing anything from this computer is to capture
the entire session to a log file and then edit and 
print it.  Editing out escape codes is _extremely_
tedious.  I'm sure there is some simple solution to this
problem (maybe using `tr'?).

I can't read news, only post it, so could you please mail
replies direct to me.  Thanks!

Kas Sommers, Queensland Forest Service
kas@qfagus.aus