App-Greple-under
view release on metacpan or search on metacpan
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile
images/mise-place.png
images/normal.png
images/under-line.png
lib/App/Greple/under.pm
lib/App/Greple/under/line.pm
lib/App/Greple/under/mise.pm
lib/App/Greple/under/place.pm
minil.toml
t/00_compile.t
META.yml
MANIFEST
sequencing when highlighting by ANSI sequencing is not possible for
some reason.
The following command searches for a paragraph that contains all the
words specified.
greple 'license agreements software freedom' LICENSE -p
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-under/main/images/normal.png">
</p>
</div>
By default, the emphasis should be indicated by underlining it on the
next line.
greple -Munder::line 'license agreements software freedom' LICENSE -p
Above command will produce output like this:
â software--to make sure the software is free for all its users. The â
â ââââââââ ââââââââ â
â General Public License applies to the Free Software Foundation's â
â software and to any other program whose authors commit to using it. â
â ââââââââ â
â You can use it for your programs, too. â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-under/main/images/under-line.png">
</p>
</div>
If you want to process the search results before underlining them,
process them in the `-Munder::mise` module and then pass them through
the `-Munder::place` module.
greple -Munder::mise ... | ... | greple -Munder::place
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-under/main/images/mise-place.png">
</p>
</div>
# MODULE OPTION
## **--config**
Set config parameters.
greple -Munder::line --config type=eighth -- ...
lib/App/Greple/under.pm view on Meta::CPAN
This module is intended to clarify highlighting points without ANSI
sequencing when highlighting by ANSI sequencing is not possible for
some reason.
The following command searches for a paragraph that contains all the
words specified.
greple 'license agreements software freedom' LICENSE -p
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-under/main/images/normal.png">
</p>
By default, the emphasis should be indicated by underlining it on the
next line.
greple -Munder::line 'license agreements software freedom' LICENSE -p
Above command will produce output like this:
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
lib/App/Greple/under.pm view on Meta::CPAN
â âââââââ â
â software--to make sure the software is free for all its users. The â
â ââââââââ ââââââââ â
â General Public License applies to the Free Software Foundation's â
â software and to any other program whose authors commit to using it. â
â ââââââââ â
â You can use it for your programs, too. â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-under/main/images/under-line.png">
</p>
If you want to process the search results before underlining them,
process them in the C<-Munder::mise> module and then pass them through
the C<-Munder::place> module.
greple -Munder::mise ... | ... | greple -Munder::place
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-under/main/images/mise-place.png">
</p>
=head1 MODULE OPTION
=head2 B<--config>
Set config parameters.
greple -Munder::line --config type=eighth -- ...
( run in 0.805 second using v1.01-cache-2.11-cpan-df04353d9ac )