ktmatu
Home | Site Map | Site Search
Home > Software >
 

Ffcat - Fast Forward Cat

Description | System requirements | Sample usage | Download

Description

Fast forwards to the position where the last run ended, and then copies only the new lines of that file to the standard output.

System requirements

Sample usage

Dump the contents of /vol/www/ap-logs/access to stdout and use position.dat to store the position of last line read. If this is the first run or the file is smaller than before, the whole file is printed.
$ ./ffcat.pl position.dat /vol/www/ap-logs/access
Pipe results to other programs:
$ ./ffcat.pl position.dat /vol/www/ap-logs/access | wc -l

Download

Author

Matti Tukiainen, ktmatu@nic.fi

 
Home | Software | Information | Etsin | Chinese | Christmas Calendars | Site Info