unrotate - reads lines from log using Log::Unrotate and given pos file
unrotate [-n 5] [-c] file.pos [file.log]
options: -c commit position file before exit -n LIMIT read only LIMIT lines
This script reads lines from log associated with given position file and prints them to stdout.
Andrei Mishchenko druxa@yandex-team.ru, Vyacheslav Matjukhin mmcleric@yandex-team.ru.
druxa@yandex-team.ru
mmcleric@yandex-team.ru
Copyright (c) 2006-2009 Yandex LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
Log::Unrotate
To install Log::Unrotate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Unrotate
CPAN shell
perl -MCPAN -e shell install Log::Unrotate
For more information on module installation, please visit the detailed CPAN module installation guide.