NIMGREP(1) NIMGREP(1) (NAME) nimgrep - (DESCRIPTION) nimgrep - Nim Grep 2.0.0 (c) 2012-2020 Andreas Rumpf : * : nimgrep [options] PATTERN [(FILE/DIRECTORY)*/-] * : nimgrep [options] PATTERN --replace REPLACEMENT (FILE/DIRECTORY)*/- * : nimgrep [options] --filenames [PATTERN] [(FILE/DIRECTORY)*] : 1) PATTERN Regex () `--peg` Peg . `--stdin` PATTERN REPLACEMENT . 2) REPLACEMENT `$1` `$#` PATTERN . .. :: `--replace` **** `--confirm` ! 3) (FILE/DIRECTORY) `-` () : * `.` ( `--replace`) .. :: FILE/DIRECTORY/`-` nimgrep **** ! * `-`: (stdin) : `--replace` stdout `--stdin` `--filenames` `--confirm` DIRECTORY nimgrep `--recursive` . . (OPTIONS) * (Mode of operation): --find, -f PATTERN () --replace, -! PATTERN REPLACEMENT --confirm / --filenames . PATTERN ( ) : nimgrep --filenames # nimgrep --filenames "" DIRECTORY # : "" DIRECTORY * (Interpret patterns): --peg PATTERN PAT Peg --re PATTERN PAT (Regex) () --rex, -x (extended) --word, -w ( Peg !) --ignoreCase, -i PATTERN PAT --ignoreStyle, -y PATTERN PAT .. :: PATTERN PAT ( ) Regex Peg `--rex` `--word` `--ignoreCase` `--ignoreStyle` . * (File system walk): --recursive, -r --follow --sortTime, -s[:asc|desc] (: ): ( ) * ( ): .. :: `not` `n` . --ex[tensions]:EX1|EX2|... () (`--ex`) --notex[tensions]:EX1|EX2|... () ( ) --fi[lename]:PAT PAT --notfi[lename]:PAT PAT --di[rname]:PAT PAT --notdi[rname]:PAT ( ) PAT --dirp[ath]:PAT PAT --notdirp[ath]:PAT PAT * ( ): --inF[ile]:PAT PAT ( ) --notinF[ile]:PAT PAT --bin:on|off|only ( 0\ ) (: on - ) --text, -t `--bin:off` * : --inC[ontext]:PAT PAT ( `-c` `-a` `-b`) --notinC[ontext]:PAT PAT * (Represent results): --nocolor --color[:on] (: ) --colorTheme:THEME THEME `simple` () `bnw` ( ) `ack` `gnu` ( GNU grep) --count --context:N, -c:N N N ( N: 0) --afterContext:N, -a:N N --beforeContext:N, -b:N N --group, -g --newLine, -l --cols[:N] / N (: ) --cols:auto, -% --onlyAscii, -@ 0x20-0x7E : 0 -> ^@, 1 -> ^A, ... 0x1F -> ^_, 0x7F -> '7F, ..., 0xFF -> 'FF * (Miscellaneous): --threads:N, -j:N N (worker) (: 0 ) --stdin PATTERN (stdin) `--replace` REPLACEMENT --verbose : --help, -h --version, -v nimgrep 2.2.10 April 2026 NIMGREP(1)