App-Greple-subst
view release on metacpan or search on metacpan
- **--stat-style**=`default`|`dict`
Using **--stat-style=dict** option with **--stat** and **--check=any**,
you can get dictionary style output for your working document.
- **--stat-item** _item_=\[0,1\]
Specify which item is shown up in stat information. Default values
are:
match=1
expect=1
number=1
ng=1
ok=1
dict=0
If you don't need to see pattern field, use like this:
--stat-item match=0
Multiple parameters can be set at once:
--stat-item match=number=0,ng=1,ok=1
- **--subst**
Substitute unexpected matched pattern to expected string. Newline
character in the matched string is ignored. Pattern without
replacement string is not changed.
- **--\[no-\]warn-overlap**
Warn overlapped pattern.
Default on.
- **--\[no-\]warn-include**
Warn included pattern.
Default off.
## FILE UPDATE OPTIONS
- **--diff**
- **--diffcmd**=_command_
Option **--diff** produce diff output of original and converted text.
Specify diff command name used by **--diff** option. Default is "diff
\-u".
- **--create**
Create new file and write the result. Suffix ".new" is appended to
original filename.
- **--replace**
Replace the target file by converted result. Original file is renamed
to backup name with ".bak" suffix.
- **--overwrite**
Overwrite the target file by converted result with no backup.
# DICTIONARY
This module includes example dictionaries. They are installed share
directory and accessed by **--exdict** option.
greple -Msubst --exdict jtca-katakana-guide-3.dict
- **--exdict** _dictionary_
Use _dictionary_ flie in the distribution as a dictionary file.
- **--exdictdir**
Show dictionary directory.
- **--exdict** jtca-katakana-guide-3.dict
- **--jtca-katakana-guide**
Created from following guideline document.
夿¥èªï¼ã«ã¿ã«ãï¼è¡¨è¨ã¬ã¤ãã©ã¤ã³ 第3ç
å¶å®ï¼2015å¹´8æ
çºè¡ï¼2015å¹´9æ
ä¸è¬è²¡å£æ³äººãã¯ãã«ã«ã³ãã¥ãã±ã¼ã¿ã¼åä¼
Japan Technical Communicators Association
https://jtca.org/tcwp/wp-content/uploads/2023/06/katakana_guide_3_20171222.pdf
- **--jtca**
Customized **--jtca-katakana-guide**. Original dictionary is
automatically generated from published data. This dictionary is
customized for practical use.
- **--exdict** jtf-style-guide-3.dict
- **--jtf-style-guide**
Created from following guideline document.
JTFæ¥æ¬èªæ¨æºã¹ã¿ã¤ã«ã¬ã¤ãï¼ç¿»è¨³ç¨ï¼
第3.0ç
2019å¹´8æ20æ¥
ä¸è¬ç¤¾å£æ³äºº æ¥æ¬ç¿»è¨³é£çï¼JTFï¼
翻訳å質å§å¡ä¼
https://www.jtf.jp/jp/style_guide/pdf/jtf_style_guide.pdf
- **--jtf**
Customized **--jtf-style-guide**. Original dictionary is automatically
generated from published data. This dictionary is customized for
practical use.
- **--exdict** sccc2.dict
- **--sccc2**
Dictionary used for "C/C++ ã»ãã¥ã¢ã³ã¼ãã£ã³ã° 第2ç" published in
2014.
https://www.jpcert.or.jp/securecoding_book_2nd.html
( run in 0.663 second using v1.01-cache-2.11-cpan-3fabe0161c3 )