App-Greple-stripe
view release on metacpan or search on metacpan
docs/stripe.JA.md view on Meta::CPAN
# NAME
App::Greple::stripe - Greple ã¼ãã©ã¹ãã©ã¤ãã¢ã¸ã¥ã¼ã«
# SYNOPSIS
greple -Mstripe [ module options -- ] ...
# VERSION
Version 1.02
# DESCRIPTION
[App::Greple::stripe](https://metacpan.org/pod/App%3A%3AGreple%3A%3Astripe) ã¯ãããããããã¹ããã¼ãã©ã¹ãã©ã¤ãã§è¡¨ç¤ºãã [greple](https://metacpan.org/pod/App%3A%3AGreple) ã®ã¢ã¸ã¥ã¼ã«ã§ãã
次ã®ã³ãã³ãã¯é£ç¶ãã2è¡ã«ããããã¾ãã
greple -E '(.+\n){1,2}' --face +E
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/normal.png">
</p>
</div>
ããããããããããããã¯ã¯åãè²ã§è¡¨ç¤ºãããã®ã§ãã©ãã§ãããã¯ãéåããã®ãããããã¾ãããä¸ã¤ã®æ¹æ³ã¯ã`--blockend`ãªãã·ã§ã³ã使ã£ã¦æç¤ºçã«ãããã¯ã表示ãããã¨ã...
greple -E '(.+\n){1,2}' --face +E --blockend=--
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/blockend.png">
</p>
</div>
stripeã¢ã¸ã¥ã¼ã«ã使ãã¨ãåããã¿ã¼ã³ã«ããããããããã¯ã¯ãé¡ä¼¼è²ç³»åã®ç°ãªãè²ã§çè²ããã¾ãã
greple -Mstripe -E '(.+\n){1,2}' --face +E
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/stripe.png">
</p>
</div>
ããã©ã«ãã§ã¯2ã¤ã®è²ç³»åãç¨æããã¦ããããã®ãããè¤æ°ã®ãã¿ã¼ã³ãæ¤ç´¢ããå ´åãå¶æ°ãã¿ã¼ã³ã¨å¥æ°ãã¿ã¼ã³ã§ã¯ãããããç°ãªãè²ç³»åãå²ãå½ã¦ãããã
greple -Mstripe -E '.*[02468]$' -E '.*[13579]$' --need=1
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/random.png">
</p>
</div>
ä¸ã®ä¾ã®ããã«è¤æ°ã®ãã¿ã¼ã³ãæå®ããå ´åããã¹ã¦ã®ãã¿ã¼ã³ã«ä¸è´ããè¡ã ããåºåããããããã§ããã®æ¡ä»¶ãç·©åããããã«`--need=1`ãªãã·ã§ã³ãå¿
è¦ã¨ãªãã
3ã¤ä»¥ä¸ã®ãã¿ã¼ã³ã§ç°ãªãè²ç³»åã使ãããå ´åã¯ãã¢ã¸ã¥ã¼ã«ãå¼ã³åºãã¨ãã« `step` åæ°ãæå®ãã¦ãã ãããã·ãªã¼ãºæ°ã¯6ã¾ã§å¢ããã¾ãã
greple -Mstripe::config=step=3 --need=1 -E p1 -E p2 -E p3 ...
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/step-3.png">
</p>
</div>
# MODULE OPTIONS
**stripe**ã¢ã¸ã¥ã¼ã«ç¹æã®ãªãã·ã§ã³ãããã¾ãããããã¯ã¢ã¸ã¥ã¼ã«å®£è¨æã«æå®ããããã¢ã¸ã¥ã¼ã«å®£è¨ã®å¾ã«`--`ã§çµãããªãã·ã§ã³ã¨ãã¦æå®ãã¾ãã
以ä¸ã®3ã¤ã®ã³ãã³ãã¯å
¨ãåã广ãããããã¾ãã
greple -Mstripe::config=step=3
greple -Mstripe --config step=3 --
greple -Mstripe --step=3 --
ãªããç¾æç¹ã§ã¯ä¸ä½äºææ§ã®ããã«`config`ã®ä»£ããã«`set`颿°ã使ããã¨ãã§ãã¾ãã
- **-Mstripe::config**=**step**=_n_
- **--step**=_n_
ã¹ãããæ°ã_n_ã«è¨å®ããã
- **-Mstripe::config**=**darkmode**
- **--darkmode**
æãèæ¯è²ã使ãã
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/darkmode.png">
</p>
</div>
ãã¹ã¦ã®ã«ã©ã¼ãããã®åæ¯è²ãè¨å®ããã«ã¯ `--face` ãªãã·ã§ã³ã使ãã¾ããæ¬¡ã®ã³ãã³ãã¯åæ¯è²ãç½ã«è¨å®ããè¡å
¨ä½ãèæ¯è²ã§å¡ãã¤ã¶ãã¾ãã
greple -Mstripe --darkmode -- --face +WE
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/dark-white.png">
</p>
</div>
# SEE ALSO
[App::Greple](https://metacpan.org/pod/App%3A%3AGreple)
[App::Greple::xlate](https://metacpan.org/pod/App%3A%3AGreple%3A%3Axlate)
[Getopt::EX::Config](https://metacpan.org/pod/Getopt%3A%3AEX%3A%3AConfig)
# AUTHOR
Kazumasa Utashiro
# 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.
( run in 1.017 second using v1.01-cache-2.11-cpan-df04353d9ac )