PDA

View Full Version : how do i remove unwanted charaters at "script" command output?



linuxzouk
15th May 2004, 05:22 AM
the output of "script" command seems to have additional characters eg. ^[], ^[[00M, ^M, ^G

how do i remove them? any commands to clear it all off automatically

Jman
15th May 2004, 11:05 PM
Those characters are control characters that don't have a character to represent them. Unfortunately there is no easy way to remove them within script.

See the documentation by running man script.