slow-filter

NAME

slow-filter - A "slow" version of cat

SYNOPSIS

slow-filter [ --block <octets> ] [ --delay <ms> ]


OPTIONS

--block

Number of octets to read in each sysread.

--delay

Delay in milliseconds between reads.

--man

Print the manual page and exit.

--help

Print a brief help message and exit.


DESCRIPTION

This program is a simple filter based on code from page 231 of _Programming Perl_, under the summary of 'syswrite'. It will delay its output according to the paramaters provided.


EXIT CODES

If this program exits with a zero exit status and the correct output is on standard output. Nothing else is ever printed to standard error.

This program will exit with a non-zero exit status if there was a fatal error. Both fatal and non-fatal errors will cause output on standard error.


AUTHOR

Mark Suter <suter@humbug.org.au>


COPYRIGHT

Copyright (C) 1998,2003 Mark Suter <suter@humbug.org.au>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA or from the following webpage.

    http://www.gnu.org/licenses/gpl.txt
-->