DMS Phone Switch and garbage characters

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
>=81[132D=81[K 0
Nex_s [ Fr, 15 Juli 2005 21:18 ] [ ID #881543 ]
Perl » alt.perl » DMS Phone Switch and garbage characters

Vorheriges Thema: Help with mail2news perl script
Nächstes Thema: Telnet to switch, retrieve buffer data, ftp to server