about summary refs log tree commit diff stats
path: root/LICENSE
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-16 11:28:17 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-16 11:28:17 +0100
commit1d63030665674496930612ef9a272afb6b75c174 (patch)
tree4678003550262b4119f22ed85be6495b62a23c02 /LICENSE
parent6a5b41203e45d565b58b1e39e86f0e290cabdc20 (diff)
downloaddwm-1d63030665674496930612ef9a272afb6b75c174.tar.gz
s/444/555/g - enlightened selected background
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions
e the previous revision' href='/ahoang/Nim/blame/doc/nimgrep.txt?h=devel&id=c95e47216f790f8aac9860a8a0deae0369a2a84f'>^
752cddb91 ^



657dca5c3 ^


752cddb91 ^





0b44d812f ^
752cddb91 ^

0b44d812f ^
752cddb91 ^









1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50


                         





                                                                          
                                                                    

                                                                 

                                                                     







                                  
                                    



                                                    


                     





                                                             
                                                                         

                                                                           
                                                                            









                                                                             
=========================
  nimgrep User's manual
=========================

:Author: Andreas Rumpf
:Version: 0.9


Nimgrep is a command line tool for search&replace tasks. It can search for
regex or peg patterns and can search whole directories at once. User
confirmation for every single replace operation can be requested.

Nimgrep has particularly good support for Nim's
eccentric *style insensitivity*. Apart from that it is a generic text
manipulation tool.


Installation
============

Compile nimgrep with the command::

  nim c -d:release tools/nimgrep.nim

And copy the executable somewhere in your ``$PATH``.


Command line switches
=====================

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)
  --verbose           be verbose: list every processed file
  --help, -h          shows this help
  --version, -v       shows the version