Scroll to navigation

NIMGREP(1) User Commands NIMGREP(1)

NAME

nimgrep - Nimgrep

DESCRIPTION

nimgrep - Nim Grep Utility Version 1.2
(c) 2012 Andreas Rumpf

Usage:

nimgrep [options] [pattern] [replacement] (file/directory)*

OPTIONS

--find, -f
find the pattern (default)
--replace, -r
replace the pattern
--peg
pattern is a peg
--re
pattern is a regular expression (default); extended syntax for the regular expression is always turned on
--recursive
process directories recursively
--confirm
confirm each occurrence/replacement; there is a chance to abort any time without touching the file
--stdin
read pattern from stdin (to avoid the shell's confusing quoting rules)
--word, -w
the match should have word boundaries (buggy for pegs!)
--ignoreCase, -i
be case insensitive
--ignoreStyle, -y
be style insensitive
--ext:EX1|EX2|...
only search the files with the given extension(s)
--nocolor
output will be given without any colours.
--oneline
show file on each matched line
--verbose
be verbose: list every processed file
--filenames
find the pattern in the filenames, not in the contents of the file
--help, -h
shows this help
--version, -v
shows the version

REPORTING BUGS

https://github.com/nim-lang/Nim/issues

SEE ALSO

The nim-doc package.
February 2019 nimgrep 0.19.4-1