Actions Status MetaCPAN Release

NAME

App::Greple::frame - Greple frame output module

SYNOPSIS

greple -Mframe --style=fold -- ...

greple -Mframe --frame ...

VERSION

Version 1.04

DESCRIPTION

Greple -Mframe module provide a capability to put surrounding frames for each blocks.

top, middle and bottom frames are printed for blocks.

By default --join-blocks option is enabled to collect consecutive lines into a single block. If you don't like this, override it by --no-join-blocks option.

MODULE OPTIONS

Options placed between -Mframe and -- belong to the module, so their names do not conflict with the options of greple or of other modules.

greple -Mframe --style=cols -- pattern file

greple -Mframe --style=fold --width=80 -- pattern file

When -- is given, everything before it must be a module option, so -Mframe --frame pattern -- file is an error. Options of greple and the pattern come after it.

The next options mean the same as the options of the same name of App::ansicolumn and App::ansifold.

cols and pages styles use --boundary=none, --linebreak=all and --runlen=0 by default. fold style gives them to ansifold only when they are specified.

COMMAND OPTIONS

These options work as options of the greple command, and do not need --. They are kept for compatibility and may be removed in the future. Use "MODULE OPTIONS".

CONFIGURATION

Module parameters are set with Getopt::EX::Config by the config function. The --config module option sets the same parameters.

The set function does the same as config. It is kept only for compatibility and will be removed in the future.

SEE ALSO

App::ansifold

App::ansicolumn

Math::RPN

AUTHOR

Kazumasa Utashiro

LICENSE

Copyright 2022-2026 Kazumasa Utashiro.

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