recinf reads the given rec files (or the data from standard input if no file is specified) and prints a summary of the record types contained in the input.
recinf [option]... [file]...
The default behavior is to emit a line per record type in the input containing its name and the number of records of that type:
$ recinf hackers.rec tasks.rec 25 Hacker 102 Task
If the input contains anonymous records, i.e. records that are before the first record descriptor, the corresponding output line won't have a type name:
$ recinf data.rec 10
In addition to the common options described earlier the program accepts the following options.