| Home Page | Overview |
| New Features | Downloads & Prices |
| P-STAT documentation | Technical Support |
| Contact P-STAT | Unistat for Windows |
The EXAMINE command is a powerful tool when you have
no idea what is in file. Is the source PC/Windows or
Linux? Is the file all ASCII text or perhaps all numeric?
Can you discern a pattern of data fields and delimiters
or is it binary and unreadable except by the program
which created it.
If you have a mystery file, EXAMINE is just what you need.
EXAMINE reads an external input file and counts how many times each type of ascii byte occurs. It writes a report and, if requested, a P-STAT output file which has the number of times each of the 256 possible ascii characters was found.
An end-of-case (EOC) field like CR LF can be supplied. If so, the report is extended to show the number of cases in the file, the smallest and largest record lengths, and the number of characters, if any, after the final EOC.
The report summarizes what was found. It also gives the number of CR-LF combinations, and displays the first ten and last ten bytes in the input file. If, however, there are 20 or fewer bytes in the file, all are displayed.
Consider this unlikely 8-byte file (named test77).
-------------------EXAMINE completed---------------------
| Input file test77 has 8 bytes. |
| |
| 1 CR-LF was found. |
| 1 CR without a following LF was found. |
| 1 LF without a preceding CR was found. |
| 1 byte less than 32 (besides CR or LF) was found. |
| 1 byte greater than 127 was found. |
| |
| The input file contains these bytes: |
| A CR LF 211 022 |
| LF B CR |
| |
| Time: less than 0.1 second. |
---------------------------------------------------------