DMS Phone Switch and garbage characters

DMS Phone Switch and garbage characters

am 15.07.2005 21:18:41 von Nex_s

Hi All,

I'm retrieving data from the buffer of a DMS Switch. When it prints
to the screen in Unix it looks fine. But if I save the data to a file
it adds extra characters. Is there anyway to prevent these characters
from being included or otherwise strip them out.

Thank you,
Chris

SAMPLE DATA



>=81[132D=81[K ANN
>=81[132D=81[K KEY (COMMON_LANGUAGE_NAME)
>=81[132D=81[K INFO (ANN_OMINFO)
>=81[132D=81[K ANNATT ANNOVFL
>=81[132D=81[K
>=81[132D=81[K 230 NSPHFXANN40
>=81[132D=81[K 255
>=81[132D=81[K 0 0
>=81[132D=81[K
>=81[132D=81[K 231 NSPHFXANN41
>=81[132D=81[K 255
>=81[132D=81[K 0 0
>=81[132D=81[K
>=81[132D=81[K 232 INGQTA
>=81[132D=81[K 50=20
>=81[132D=81[K 0