The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

edge - show the edge of logs with conditional grep

SYNOPSIS

    $ edge [options] FILE_PATH

OPTIONS

    -g   --grep       grep condition
    -gv  --grepv      invert grep condition
    -f   --file       file path

EXAMPLES

    $ edge -g foo access.log

The above command is mostly same as below commands.

    $ cat access.log | grep foo | head -n1
    $ cat access.log | grep foo | tail -n1
    $ cat access.log | grep foo | wc -l

AUTHOR

Dai Okabayashi <bayashi@cpan.org>

SEE ALSO

App::Edge

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.