1NIMGREP(1)                       User Manuals                       NIMGREP(1)
2
3
4

NAME

6       nimgrep - search and replace strings matching pattern
7

SYNOPSIS

9       nimgrep [options] [pattern] [replacement] [FILE/DIRECTORY...]
10

DESCRIPTION

12       Nimgrep  is a command line tool for search&replace tasks. It can search
13       for regex or peg patterns and can search  whole  directories  at  once.
14       User confirmation for every single replace operation can be requested.
15
16       Nimgrep  has particularly good support for Nim's eccentric style insen‐
17       sitivity. Apart from that it is a generic text manipulation tool.
18

OPTIONS

20       --find, -f
21           find the pattern (default)
22
23       --replace, -r
24           replace the pattern
25
26       --peg
27           pattern is a peg
28
29       --re
30           pattern is a regular expression (default); extended syntax for  the
31       regular expression is always turned on
32
33       --recursive
34           process directories recursively
35
36       --confirm
37           confirm each occurrence/replacement; there is a chance to abort any
38       time without touching the file
39
40       --stdin
41           read pattern from stdin (to avoid  the  shell's  confusing  quoting
42       rules)
43
44       --word, -w
45           the match should have word boundaries (buggy for pegs!)
46
47       --ignoreCase, -i
48           be case insensitive
49
50       --ignoreStyle, -y
51           be style insensitive
52
53       --ext:EX1|EX2|...
54           only search the files with the given extension(s)
55
56       --verbose
57           be verbose: list every processed file
58
59       --help, -h
60           shows this help
61
62       --version, -v
63           shows the version
64

SEE ALSO

66       nim(1),    Official    documentation   ⟨https://nim-lang.org/documenta
67       tion.html⟩
68
69
70
71Linux                           SEPTEMBER 2017                      NIMGREP(1)
Impressum