Go to the first, previous, next, last section, table of contents.


Text Processing

The grg program can parse an input file in delimited ascii format and load it internally as an ordinary database file. All the normal grg operations such as sorting, filtering, field evaluating, and equates can be used. This section gives an overview of how to use this feature.

The simplest way is to use the built in patterns. These make grg process input text in the same way as awk, so that each line of input is treated as a record and each whitespace separated group on a line is treated as a field of the record. Like awk the field delimiter can be changed by using an environment variable.


Go to the first, previous, next, last section, table of contents.