view release on metacpan or search on metacpan
README.JA.md view on Meta::CPAN
# 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
README.JA.md view on Meta::CPAN
ã¹ãããæ°ã_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)
README.KO.md view on Meta::CPAN
# DESCRIPTION
[App::Greple::stripe](https://metacpan.org/pod/App%3A%3AGreple%3A%3Astripe)ë ì¼ì¹íë í
ì¤í¸ë¥¼ ì§ë¸ë¼ ì¤í¸ë¼ì´í ë°©ìì¼ë¡ íìíë [greple](https://metacpan.org/pod/App%3A%3AGreple)ì© ëª¨ëì
ëë¤.
ë¤ì ëª
ë ¹ì ì°ìë ë ì¤ì ì¼ì¹ìíµëë¤.
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>
ì¤í¸ë¼ì´í 모ëì ì¬ì©íë©´ ëì¼í í¨í´ê³¼ ì¼ì¹íë ë¸ë¡ì´ ë¹ì·í ìì ê³ì´ì ë¤ë¥¸ ììì¼ë¡ íìë©ëë¤.
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>
기본ì ì¼ë¡ ë ê°ì§ ìì ê³ì´ì´ ì¤ë¹ëì´ ììµëë¤. ë°ë¼ì ì¬ë¬ í¨í´ì ê²ìí ë ì§ì í¨í´ê³¼ íì í¨í´ìë ìë¡ ë¤ë¥¸ ìì ê³ì´ì´ í ë¹ë©ëë¤.
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` ìµì
ì´ íìí©ëë¤.
ì¸ ê° ì´ìì í¨í´ì ìë¡ ë¤ë¥¸ ìì ê³ì´ì ì¬ì©íë ¤ë©´ 모ëì í¸ì¶í ë `ë¨ê³` ê°ì를 ì§ì íì¸ì. ê³ì´ ìë ìµë 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
**ì¤í¸ë¼ì´í** 모ëì í¹ì í ìµì
ì´ ììµëë¤. 모ëì ì ì¸í ë ì§ì íê±°ë 모ë ì ì¸ ë¤ì `--`ë¡ ëëë ìµì
ì¼ë¡ ì§ì í ì ììµëë¤.
ë¤ì ì¸ ê°ì§ ëª
ë ¹ì ìì í ëì¼í í¨ê³¼ë¥¼ ë
ëë¤.
greple -Mstripe::config=step=3
README.KO.md view on Meta::CPAN
걸ì ì를 _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)
README.ZH.md view on Meta::CPAN
# DESCRIPTION
[App::Greple::stripe](https://metacpan.org/pod/App%3A%3AGreple%3A%3Astripe) æ¯ [greple](https://metacpan.org/pod/App%3A%3AGreple) çä¸ä¸ªæ¨¡åï¼ç¨äºä»¥æé©¬æ¡çº¹æ¹å¼æ¾ç¤ºå¹é
ææ¬ã
ä¸é¢çå½ä»¤å¹é
两个è¿ç»çè¡ã
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>
ä½¿ç¨æ¡çº¹æ¨¡åï¼å¹é
ç¸å徿¡çå¾åä¼ç¨ç¸ä¼¼é¢è²ç³»åçä¸åé¢è²çè²ã
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>
é»è®¤æ
åµä¸ï¼ä¼åå¤ä¸¤ä¸ªé¢è²ç³»åãå æ¤ï¼å¨æç´¢å¤ä¸ªå¾æ¡æ¶ï¼å¶æ°å¾æ¡å奿°å¾æ¡ä¼è¢«åé
ä¸åçé¢è²ç³»åã
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` éé¡¹æ¥æ¾å®½è¿ä¸æ¡ä»¶ã
妿è¦ä¸ºä¸ä¸ªææ´å¤å¾æ¡ä½¿ç¨ä¸åçé¢è²ç³»åï¼è¯·å¨è°ç¨æ¨¡åæ¶æå® `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** 模åæä¸äºç¹å®çé项ãè¿äºé项å¯ä»¥å¨æ¨¡åå£°ææ¶æå®ï¼ä¹å¯ä»¥å¨æ¨¡å声æå以 `--` ç»å°¾ä½ä¸ºé项æå®ã
以ä¸ä¸æ¡å½ä»¤å
·æå®å
¨ç¸åçææã
greple -Mstripe::config=step=3
README.ZH.md view on Meta::CPAN
å°æ¥æ°è®¾ç½®ä¸º _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)
[App::Greple::stripe](https://metacpan.org/pod/App%3A%3AGreple%3A%3Astripe) is a module for [greple](https://metacpan.org/pod/App%3A%3AGreple) to show
matched text in zebra striping fashion.
The following command matches two consecutive lines.
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>
However, each matched block is colored by the same color, so it is not
clear where the block breaks. One way is to explicitly display the
blocks using the `--blockend` option.
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>
Using the stripe module, blocks matching the same pattern are colored
with different colors of the similar color series.
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>
By default, two color series are prepared. Thus, when multiple
patterns are searched, an even-numbered pattern and an odd-numbered
pattern are assigned different color series.
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>
When multiple patterns are specified as in the above example, only
lines matching all patterns will be output. So the `--need=1` option
is required to relax this condition.
If you want to use different color series for three or more patterns,
specify `step` count when calling the module. The number of series
can be increased up to 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
There are options specific to the **stripe** module. They can be
specified either at the time of module declaration or as options
following the module declaration and ending with `--`.
The following three commands have exactly the same effect.
Set the step count to _n_.
- **-Mstripe::config**=**darkmode**
- **--darkmode**
Use dark background colors.
<div>
<p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/darkmode.png">
</p>
</div>
Use `--face` option to set foreground color for all colormap. The
following command sets the foreground color to white and fills the
entire line with the background color.
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)
docs/stripe.JA.md view on Meta::CPAN
# 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
docs/stripe.JA.md view on Meta::CPAN
ã¹ãããæ°ã_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)
docs/stripe.JA.pod view on Meta::CPAN
=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
docs/stripe.JA.pod view on Meta::CPAN
ã¹ãããæ°ã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>
docs/stripe.KO.md view on Meta::CPAN
# DESCRIPTION
[App::Greple::stripe](https://metacpan.org/pod/App%3A%3AGreple%3A%3Astripe)ë ì¼ì¹íë í
ì¤í¸ë¥¼ ì§ë¸ë¼ ì¤í¸ë¼ì´í ë°©ìì¼ë¡ íìíë [greple](https://metacpan.org/pod/App%3A%3AGreple)ì© ëª¨ëì
ëë¤.
ë¤ì ëª
ë ¹ì ì°ìë ë ì¤ì ì¼ì¹ìíµëë¤.
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>
ì¤í¸ë¼ì´í 모ëì ì¬ì©íë©´ ëì¼í í¨í´ê³¼ ì¼ì¹íë ë¸ë¡ì´ ë¹ì·í ìì ê³ì´ì ë¤ë¥¸ ììì¼ë¡ íìë©ëë¤.
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>
기본ì ì¼ë¡ ë ê°ì§ ìì ê³ì´ì´ ì¤ë¹ëì´ ììµëë¤. ë°ë¼ì ì¬ë¬ í¨í´ì ê²ìí ë ì§ì í¨í´ê³¼ íì í¨í´ìë ìë¡ ë¤ë¥¸ ìì ê³ì´ì´ í ë¹ë©ëë¤.
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` ìµì
ì´ íìí©ëë¤.
ì¸ ê° ì´ìì í¨í´ì ìë¡ ë¤ë¥¸ ìì ê³ì´ì ì¬ì©íë ¤ë©´ 모ëì í¸ì¶í ë `ë¨ê³` ê°ì를 ì§ì íì¸ì. ê³ì´ ìë ìµë 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
**ì¤í¸ë¼ì´í** 모ëì í¹ì í ìµì
ì´ ììµëë¤. 모ëì ì ì¸í ë ì§ì íê±°ë 모ë ì ì¸ ë¤ì `--`ë¡ ëëë ìµì
ì¼ë¡ ì§ì í ì ììµëë¤.
ë¤ì ì¸ ê°ì§ ëª
ë ¹ì ìì í ëì¼í í¨ê³¼ë¥¼ ë
ëë¤.
greple -Mstripe::config=step=3
docs/stripe.KO.md view on Meta::CPAN
걸ì ì를 _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)
docs/stripe.KO.pod view on Meta::CPAN
=head1 DESCRIPTION
L<App::Greple::stripe>ë ì¼ì¹íë í
ì¤í¸ë¥¼ ì§ë¸ë¼ ì¤í¸ë¼ì´í ë°©ìì¼ë¡ íìíë L<greple|App::Greple>ì© ëª¨ëì
ëë¤.
ë¤ì ëª
ë ¹ì ì°ìë ë ì¤ì ì¼ì¹ìíµëë¤.
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>
ì¤í¸ë¼ì´í 모ëì ì¬ì©íë©´ ëì¼í í¨í´ê³¼ ì¼ì¹íë ë¸ë¡ì´ ë¹ì·í ìì ê³ì´ì ë¤ë¥¸ ììì¼ë¡ íìë©ëë¤.
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>
기본ì ì¼ë¡ ë ê°ì§ ìì ê³ì´ì´ ì¤ë¹ëì´ ììµëë¤. ë°ë¼ì ì¬ë¬ í¨í´ì ê²ìí ë ì§ì í¨í´ê³¼ íì í¨í´ìë ìë¡ ë¤ë¥¸ ìì ê³ì´ì´ í ë¹ë©ëë¤.
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> ìµì
ì´ íìí©ëë¤.
ì¸ ê° ì´ìì í¨í´ì ìë¡ ë¤ë¥¸ ìì ê³ì´ì ì¬ì©íë ¤ë©´ 모ëì í¸ì¶í ë C<ë¨ê³> ê°ì를 ì§ì íì¸ì. ê³ì´ ìë ìµë 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<ì¤í¸ë¼ì´í> 모ëì í¹ì í ìµì
ì´ ììµëë¤. 모ëì ì ì¸í ë ì§ì íê±°ë 모ë ì ì¸ ë¤ì C<-->ë¡ ëëë ìµì
ì¼ë¡ ì§ì í ì ììµëë¤.
ë¤ì ì¸ ê°ì§ ëª
ë ¹ì ìì í ëì¼í í¨ê³¼ë¥¼ ë
ëë¤.
greple -Mstripe::config=step=3
docs/stripe.KO.pod view on Meta::CPAN
걸ì ì를 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>
docs/stripe.ZH.md view on Meta::CPAN
# DESCRIPTION
[App::Greple::stripe](https://metacpan.org/pod/App%3A%3AGreple%3A%3Astripe) æ¯ [greple](https://metacpan.org/pod/App%3A%3AGreple) çä¸ä¸ªæ¨¡åï¼ç¨äºä»¥æé©¬æ¡çº¹æ¹å¼æ¾ç¤ºå¹é
ææ¬ã
ä¸é¢çå½ä»¤å¹é
两个è¿ç»çè¡ã
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>
ä½¿ç¨æ¡çº¹æ¨¡åï¼å¹é
ç¸å徿¡çå¾åä¼ç¨ç¸ä¼¼é¢è²ç³»åçä¸åé¢è²çè²ã
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>
é»è®¤æ
åµä¸ï¼ä¼åå¤ä¸¤ä¸ªé¢è²ç³»åãå æ¤ï¼å¨æç´¢å¤ä¸ªå¾æ¡æ¶ï¼å¶æ°å¾æ¡å奿°å¾æ¡ä¼è¢«åé
ä¸åçé¢è²ç³»åã
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` éé¡¹æ¥æ¾å®½è¿ä¸æ¡ä»¶ã
妿è¦ä¸ºä¸ä¸ªææ´å¤å¾æ¡ä½¿ç¨ä¸åçé¢è²ç³»åï¼è¯·å¨è°ç¨æ¨¡åæ¶æå® `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** 模åæä¸äºç¹å®çé项ãè¿äºé项å¯ä»¥å¨æ¨¡åå£°ææ¶æå®ï¼ä¹å¯ä»¥å¨æ¨¡å声æå以 `--` ç»å°¾ä½ä¸ºé项æå®ã
以ä¸ä¸æ¡å½ä»¤å
·æå®å
¨ç¸åçææã
greple -Mstripe::config=step=3
docs/stripe.ZH.md view on Meta::CPAN
å°æ¥æ°è®¾ç½®ä¸º _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)
docs/stripe.ZH.pod view on Meta::CPAN
=head1 DESCRIPTION
L<App::Greple::stripe> æ¯ L<greple|App::Greple> çä¸ä¸ªæ¨¡åï¼ç¨äºä»¥æé©¬æ¡çº¹æ¹å¼æ¾ç¤ºå¹é
ææ¬ã
ä¸é¢çå½ä»¤å¹é
两个è¿ç»çè¡ã
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>
ä½¿ç¨æ¡çº¹æ¨¡åï¼å¹é
ç¸å徿¡çå¾åä¼ç¨ç¸ä¼¼é¢è²ç³»åçä¸åé¢è²çè²ã
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>
é»è®¤æ
åµä¸ï¼ä¼åå¤ä¸¤ä¸ªé¢è²ç³»åãå æ¤ï¼å¨æç´¢å¤ä¸ªå¾æ¡æ¶ï¼å¶æ°å¾æ¡å奿°å¾æ¡ä¼è¢«åé
ä¸åçé¢è²ç³»åã
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> éé¡¹æ¥æ¾å®½è¿ä¸æ¡ä»¶ã
妿è¦ä¸ºä¸ä¸ªææ´å¤å¾æ¡ä½¿ç¨ä¸åçé¢è²ç³»åï¼è¯·å¨è°ç¨æ¨¡åæ¶æå® 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<--> ç»å°¾ä½ä¸ºé项æå®ã
以ä¸ä¸æ¡å½ä»¤å
·æå®å
¨ç¸åçææã
greple -Mstripe::config=step=3
docs/stripe.ZH.pod view on Meta::CPAN
å°æ¥æ°è®¾ç½®ä¸º 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>
docs/stripe.pod view on Meta::CPAN
=head1 DESCRIPTION
L<App::Greple::stripe> is a module for L<greple|App::Greple> to show
matched text in zebra striping fashion.
The following command matches two consecutive lines.
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>
However, each matched block is colored by the same color, so it is not
clear where the block breaks. One way is to explicitly display the
blocks using the C<--blockend> option.
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>
Using the stripe module, blocks matching the same pattern are colored
with different colors of the similar color series.
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>
By default, two color series are prepared. Thus, when multiple
patterns are searched, an even-numbered pattern and an odd-numbered
pattern are assigned different color series.
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>
When multiple patterns are specified as in the above example, only
lines matching all patterns will be output. So the C<--need=1> option
is required to relax this condition.
If you want to use different color series for three or more patterns,
specify C<step> count when calling the module. The number of series
can be increased up to 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
There are options specific to the B<stripe> module. They can be
specified either at the time of module declaration or as options
following the module declaration and ending with C<-->.
The following three commands have exactly the same effect.
docs/stripe.pod view on Meta::CPAN
Set the step count to I<n>.
=item B<-Mstripe::config>=B<darkmode>
=item B<--darkmode>
Use dark background colors.
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/darkmode.png">
</p>
Use C<--face> option to set foreground color for all colormap. The
following command sets the foreground color to white and fills the
entire line with the background color.
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>
lib/App/Greple/stripe.pm view on Meta::CPAN
=head1 DESCRIPTION
L<App::Greple::stripe> is a module for L<greple|App::Greple> to show
matched text in zebra striping fashion.
The following command matches two consecutive lines.
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>
However, each matched block is colored by the same color, so it is not
clear where the block breaks. One way is to explicitly display the
blocks using the C<--blockend> option.
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>
Using the stripe module, blocks matching the same pattern are colored
with different colors of the similar color series.
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>
By default, two color series are prepared. Thus, when multiple
patterns are searched, an even-numbered pattern and an odd-numbered
pattern are assigned different color series.
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>
When multiple patterns are specified as in the above example, only
lines matching all patterns will be output. So the C<--need=1> option
is required to relax this condition.
If you want to use different color series for three or more patterns,
specify C<step> count when calling the module. The number of series
can be increased up to 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
There are options specific to the B<stripe> module. They can be
specified either at the time of module declaration or as options
following the module declaration and ending with C<-->.
The following three commands have exactly the same effect.
lib/App/Greple/stripe.pm view on Meta::CPAN
Set the step count to I<n>.
=item B<-Mstripe::config>=B<darkmode>
=item B<--darkmode>
Use dark background colors.
=for html <p>
<img width="750" src="https://raw.githubusercontent.com/kaz-utashiro/greple-stiripe/refs/heads/main/images/darkmode.png">
</p>
Use C<--face> option to set foreground color for all colormap. The
following command sets the foreground color to white and fills the
entire line with the background color.
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>