At 01:58 PM 9/10/2007, you wrote:
>From: "Tom Merritt"
>
>I'm getting acquainted with VEDIT and am initially using it to view a print image file in which the carriage control characters are appearing in column 1. How would I suppress the view of column 1 for every line in a text file or simply replace each carriage control character with a blank character. File is very large and burned on a CD and we don't want users to necessarily modify the file and save it to their PC's as disk space will become an issue. Sorry for this simple question but haven't had time to skim the 450 user's manual yet.
It is strange to see a "carriage control char" in the first column. If it is a control character (hex 00 - 1F), then most likely it is a CR and is caused by your file having LF+CR instead of the nearly universal CR+LF.
This can be fixed with a global search-and-replace:
Search: |H0A|H0D
Replace: |H0D|H0A
However, it is consists of mainframe-type printer controls like "1" for new page,
"-" for overstrike etc., then normal lines will have a space in the 1st column. In this case you can simply delete the first column.
Ted.
|
|