Computing.Net > Forums > OpenVMS > Non-Printable Characters

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Non-Printable Characters

Reply to Message Icon

Name: Basil
Date: March 28, 2005 at 08:47:33 Pacific
OS: OpenVMS 7.1
CPU/Ram: AlphaServer 4100
Comment:

Does anyone have an efficient way to eliminate non-printable characters from a file? I've used methods such as DECTPU to search and eliminate ascii characters between (1-31) and (127-255) but this slows down on large files.

Thanks.


Bas



Sponsored Link
Ads by Google

Response Number 1
Name: Bob Gezelter
Date: March 29, 2005 at 02:22:12 Pacific
Reply:

Bas,

I haven't used TPU in that context, but I have done similar things with TECO.

The key to efficiency is processing each character exactly once. Done properly, TECO provides a reasonably efficient way to do this.

- Bob Gezelter, http://www.rlgsc.com


0

Response Number 2
Name: Basil
Date: April 14, 2005 at 13:37:33 Pacific
Reply:

Hey Bob,

Thanks for getting back to me. I haven't used TECO in decades, but I actually answered my own question by learning how to incorporate all the non printable characters within one TPU search and replace.

Bas


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to OpenVMS Forum Home


Sponsored links

Ads by Google


Results for: Non-Printable Characters

ASCII -1 character www.computing.net/answers/openvms/ascii-1-character/156.html

How to edit a binary file ? www.computing.net/answers/openvms/how-to-edit-a-binary-file-/191.html

Assignment Statement .vs. F10 www.computing.net/answers/openvms/assignment-statement-vs-f10/457.html