FLMaker

Makes a file with fixed width fields from one with comma (or the delimeter of your choice) delimited fields.

Usage:

FLMaker map-file-name [data-file-name]

Arguments:

1. map-file-name - (Required) Comma delimited records that define the layout of the
records in the data file. Each row in the map file should contain:
Field-Name, Start-Position-Index (zero based), Field-Length
This file can also contain various parameters (e.g. Delimiter, Input File, Output File

2. [data-file-name] - (Optional) File containing records with delimited fields.
This argument is optional and can be specified in the map file.

Lines begining with # are treated as comments and ignored

Lines beginning with parm> can contain a setting that the program will use

The possible parameters are:

delimeter - Whatever is after the equal sign will be used as the delimeter
between fields in the output

max-records - If you don't want to parse the entire input file, specify
the number of records you would like written to the output

input-file - This is the file that will be parsed. You can also specify this
as the 2nd argument on the command line and it will override
what is in the map file.

output-file - This is the file the delimited records will be written to. If
you don't specify this parameter, the records will be written
to the screen.

Any line that doesn't begin with or parm> is expected to define a field in the
input file. Lines defining fields must be in format:

Field-Name, Start-Index (zero based), Field-Length