NAME

genlines - Produce lines with a specified speed range

VERSION

This document describes version 0.001 of genlines (from Perl distribution App-genlines), released on 2016-10-01.

SYNOPSIS

Generate 10 lines per second (default):

% genlines

Generate 100 lines per second:

% genlines --speed 100

Generate between 20 to 30 lines per second. Speed will change (but still be in the 20-30 lines/sec range) every 5 seconds (default):

% genlines --min-speed 20 --max-speed 30

Generate between 0.1 to 10 lines per second. Change speed after between 3 to 10 seconds.

% genlines --min-speed 0.1 --max-speed 10 \
    --min-change-speed-every 3 --max-change-speed-every 10

DESCRIPTION

TODO

Option to take lines from input or customize lines.

OPTIONS

--speed (num, default: 10)

--min-speed (num)

If this is specified instead of --speed, will set speed to a random number between --min-speed and --max-speed.

--max-speed (num)

If this is specified instead of --speed, will set speed to a random number between --min-speed and --max-speed.

--change-speed-every (num, default: 5)

--min-change-speed-every (num)

If this is specified instead of --change-speed-every, will change speed after a random number of seconds between --min-change-speed-every and --max-change-speed-every.

--max-change-speed-every (num)

If this is specified instead of --change-speed-every, will change speed after a random number of seconds between --min-change-speed-every and --max-change-speed-every.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-genlines.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-genlines.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-genlines

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

linespeed

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.