App-Greple-stripe
view release on metacpan or search on metacpan
docs/stripe.JA.pod view on Meta::CPAN
=encoding utf-8
=head1 NAME
App::Greple::stripe - Greple ã¼ãã©ã¹ãã©ã¤ãã¢ã¸ã¥ã¼ã«
=head1 SYNOPSIS
greple -Mstripe [ module options -- ] ...
=head1 VERSION
Version 1.02
=head1 DESCRIPTION
L<App::Greple::stripe> ã¯ãããããããã¹ããã¼ãã©ã¹ãã©ã¤ãã§è¡¨ç¤ºãã L<greple|App::Greple> ã®ã¢ã¸ã¥ã¼ã«ã§ãã
次ã®ã³ãã³ãã¯é£ç¶ãã2è¡ã«ããããã¾ãã
greple -E '(.+\n){1,2}' --face +E
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/normal.png">
</p>
ããããããããããããã¯ã¯åãè²ã§è¡¨ç¤ºãããã®ã§ãã©ãã§ãããã¯ãéåããã®ãããããã¾ãããä¸ã¤ã®æ¹æ³ã¯ãC<--blockend>ãªãã·ã§ã³ã使ã£ã¦æç¤ºçã«ãããã¯ã表示ãããã¨...
greple -E '(.+\n){1,2}' --face +E --blockend=--
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/blockend.png">
</p>
stripeã¢ã¸ã¥ã¼ã«ã使ãã¨ãåããã¿ã¼ã³ã«ããããããããã¯ã¯ãé¡ä¼¼è²ç³»åã®ç°ãªãè²ã§çè²ããã¾ãã
greple -Mstripe -E '(.+\n){1,2}' --face +E
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/stripe.png">
</p>
ããã©ã«ãã§ã¯2ã¤ã®è²ç³»åãç¨æããã¦ããããã®ãããè¤æ°ã®ãã¿ã¼ã³ãæ¤ç´¢ããå ´åãå¶æ°ãã¿ã¼ã³ã¨å¥æ°ãã¿ã¼ã³ã§ã¯ãããããç°ãªãè²ç³»åãå²ãå½ã¦ãããã
greple -Mstripe -E '.*[02468]$' -E '.*[13579]$' --need=1
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/random.png">
</p>
ä¸ã®ä¾ã®ããã«è¤æ°ã®ãã¿ã¼ã³ãæå®ããå ´åããã¹ã¦ã®ãã¿ã¼ã³ã«ä¸è´ããè¡ã ããåºåããããããã§ããã®æ¡ä»¶ãç·©åããããã«C<--need=1>ãªãã·ã§ã³ãå¿
è¦ã¨ãªãã
3ã¤ä»¥ä¸ã®ãã¿ã¼ã³ã§ç°ãªãè²ç³»åã使ãããå ´åã¯ãã¢ã¸ã¥ã¼ã«ãå¼ã³åºãã¨ãã« C<step> åæ°ãæå®ãã¦ãã ãããã·ãªã¼ãºæ°ã¯6ã¾ã§å¢ããã¾ãã
greple -Mstripe::config=step=3 --need=1 -E p1 -E p2 -E p3 ...
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/step-3.png">
</p>
=head1 MODULE OPTIONS
B<stripe>ã¢ã¸ã¥ã¼ã«ç¹æã®ãªãã·ã§ã³ãããã¾ãããããã¯ã¢ã¸ã¥ã¼ã«å®£è¨æã«æå®ããããã¢ã¸ã¥ã¼ã«å®£è¨ã®å¾ã«C<-->ã§çµãããªãã·ã§ã³ã¨ãã¦æå®ãã¾ãã
以ä¸ã®3ã¤ã®ã³ãã³ãã¯å
¨ãåã广ãããããã¾ãã
greple -Mstripe::config=step=3
greple -Mstripe --config step=3 --
greple -Mstripe --step=3 --
ãªããç¾æç¹ã§ã¯ä¸ä½äºææ§ã®ããã«C<config>ã®ä»£ããã«C<set>颿°ã使ããã¨ãã§ãã¾ãã
=over 7
=item B<-Mstripe::config>=B<step>=I<n>
=item B<--step>=I<n>
ã¹ãããæ°ãI<n>ã«è¨å®ããã
=item B<-Mstripe::config>=B<darkmode>
=item B<--darkmode>
æãèæ¯è²ã使ãã
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/darkmode.png">
</p>
ãã¹ã¦ã®ã«ã©ã¼ãããã®åæ¯è²ãè¨å®ããã«ã¯ C<--face> ãªãã·ã§ã³ã使ãã¾ããæ¬¡ã®ã³ãã³ãã¯åæ¯è²ãç½ã«è¨å®ããè¡å
¨ä½ãèæ¯è²ã§å¡ãã¤ã¶ãã¾ãã
greple -Mstripe --darkmode -- --face +WE
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/dark-white.png">
</p>
=back
=head1 SEE ALSO
L<App::Greple>
L<App::Greple::xlate>
L<Getopt::EX::Config>
=head1 AUTHOR
Kazumasa Utashiro
=head1 LICENSE
Copyright Â©ï¸ 2024-2025 Kazumasa Utashiro.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
( run in 1.713 second using v1.01-cache-2.11-cpan-df04353d9ac )