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
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.
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.
Summary: Many of the files we have on our OpenVMS platform get terminated with series of non-printable ASCII "-1" characters with look like the letter y with a colon hovering above it on it's side. I'm not su...
Summary: I have after received some corrupted files in the HPGL format, but that is an other story... finally got a solution. The HPGL file is with fixed length 512 byte records and file organization is sequen...
Summary: Thanks, I think I understand a little better now. I had it pretty much backwards before. Of course, I may be just plain thinking a little more clearly today too. As I understand it, you've got an app...