.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3. .TH NIMGREP "1" "May 2021" "nimgrep 1.4.6+really1.4.2-2" "User Commands" .SH NAME nimgrep \- Nimgrep .SH DESCRIPTION nimgrep \- Nim Grep Utility Version 1.5 .IP (c) 2012 Andreas Rumpf .SS "Usage:" .IP nimgrep [options] [pattern] [replacement] (file/directory)* .SH OPTIONS .TP \fB\-\-find\fR, \fB\-f\fR find the pattern (default) .TP \fB\-\-replace\fR, \-! replace the pattern .TP \fB\-\-peg\fR pattern is a peg .TP \fB\-\-re\fR pattern is a regular expression (default) .TP \fB\-\-rex\fR, \fB\-x\fR use the "extended" syntax for the regular expression so that whitespace is not significant .TP \fB\-\-recursive\fR, \fB\-r\fR process directories recursively .TP \fB\-\-follow\fR follow all symlinks when processing recursively .TP \fB\-\-confirm\fR confirm each occurrence/replacement; there is a chance to abort any time without touching the file .TP \fB\-\-stdin\fR read pattern from stdin (to avoid the shell's confusing quoting rules) .TP \fB\-\-word\fR, \fB\-w\fR the match should have word boundaries (buggy for pegs!) .TP \fB\-\-ignoreCase\fR, \fB\-i\fR be case insensitive .TP \fB\-\-ignoreStyle\fR, \fB\-y\fR be style insensitive .TP \fB\-\-ext\fR:EX1|EX2|... only search the files with the given extension(s), empty one ("\-\-ext") means files with missing extension .TP \fB\-\-noExt\fR:EX1|... exclude files having given extension(s), use empty one to skip files with no extension (like some binary files are) .TP \fB\-\-includeFile\fR:PAT include only files whose names match the given regex PAT .TP \fB\-\-excludeFile\fR:PAT skip files whose names match the given regex pattern PAT .TP \fB\-\-excludeDir\fR:PAT skip directories whose names match the given regex PAT .TP \fB\-\-nocolor\fR output will be given without any colours .TP \fB\-\-color[\fR:always] force color even if output is redirected .TP \fB\-\-colorTheme\fR:THEME select color THEME from 'simple' (default), \&'bnw' (black and white) ,'ack', or 'gnu' (GNU grep) .HP \fB\-\-afterContext\fR:N, .TP \fB\-a\fR:N print N lines of trailing context after every match .HP \fB\-\-beforeContext\fR:N, .TP \fB\-b\fR:N print N lines of leading context before every match .TP \fB\-\-context\fR:N, \fB\-c\fR:N print N lines of leading context before every match and N lines of trailing context after it .TP \fB\-\-group\fR, \fB\-g\fR group matches by file .TP \fB\-\-newLine\fR, \fB\-l\fR display every matching line starting from a new line .TP \fB\-\-verbose\fR be verbose: list every processed file .TP \fB\-\-filenames\fR find the pattern in the filenames, not in the contents of the file .TP \fB\-\-help\fR, \fB\-h\fR shows this help .TP \fB\-\-version\fR, \fB\-v\fR shows the version .SH "REPORTING BUGS" https://github.com/nim-lang/Nim/issues .SH "SEE ALSO" The nim-doc package.