1 Author: Martin Asser Hansen - Copyright (C) - All rights reserved
3 Contact: mail@maasha.dk
7 License: GNU General Public License version 2 (http://www.gnu.org/copyleft/gpl.html)
9 Description: Count the number of records in stream.
11 Usage: ... | count_records [options]
13 Options: [-x | --no_stream] - Do not emit records.
14 Options: [-o <file> | --data_out=<file>] - Write result to file.
15 Options: [-I <file> | --stream_in=<file>] - Read input from stream file - Default=STDIN
16 Options: [-O <file> | --stream_out=<file>] - Write output to stream file - Default=STDOUT
18 Examples: ... | count_records -x -o count.txt - Count records in stream and write result to 'count.txt'