segment_logr
Purpose:
-
Segment data from a floger data file into output files with limited column widths for better formatting.
Enter:
-
segment_logr <filename> [+l]
Where:
-
filename
Specify the full name of the floger data file that contains the data to be segmented. If a complete path is not specified, then the file is assumed to reside in the directory /data/PC_format.
+l
Optional. If this flag is specified, the data will be segmented so that the files may be printed in the landscape mode up to 7 columns. If this argument is not specified, then the data will be segmented to be compatible with the portrait printer mode up to 5 columns.
Example:
-
segment_logr floger.dat
The above command reads the file floger.dat in the directory /data/PC_format and create a file, floger.dat.SEG, in the same directory. The new file contains the same data as the original file except it is limited to 80 column width (default mode) or 110 column width (+l option).
Notes:
-
1. In portrait mode, files are limited to 5 data columns, wrapping additional columns below. In landscape mode, up to 7 columns are used.
2. Additional headers in the input file are ignored, but all data groups must have the same number of values.
3. The input file can be in packed or non-packed format.