LinuxCommandLibrary

ffe

flat file data extractor and parser

TLDR

Extract fields from flat file

$ ffe -c [config.ffe] [data.txt]
copy
Output as CSV
$ ffe -c [config.ffe] -o csv [data.txt]
copy
Process binary file
$ ffe -c [config.ffe] -b [data.bin]
copy
Show structure info
$ ffe -c [config.ffe] -s [data.txt]
copy

SYNOPSIS

ffe [options] [files]

DESCRIPTION

ffe (Flat File Extractor) parses fixed-width and delimited files according to a structure definition. It extracts fields from legacy flat files and converts them to modern formats.
Configuration files define record layouts with field names, widths, and types. The tool handles multiple record types in a single file, common in mainframe data formats.
ffe is useful for processing legacy data exports, EDI files, and other structured text formats.

PARAMETERS

FILES

Input files to process.
-c FILE
Configuration file defining record structure.
-o FORMAT
Output format: csv, xml, html, etc.
-b
Binary input mode.
-s
Show structure information.
-e EXPR
Expression to filter records.
--help
Display help information.

CONFIGURATION

config.ffe

Structure definition file specifying record layouts, field names, widths, types, and delimiters.

CAVEATS

Requires configuration file. Complex record structures need careful setup. Large files may be slow to process.

HISTORY

ffe was created for processing legacy flat file formats common in mainframe and batch processing systems. It bridges older data formats with modern text processing tools.

SEE ALSO

awk(1), cut(1), csvtool(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community