summary refs log tree commit diff stats
path: root/tools/nimgrep.nim
Commit message (Collapse)AuthorAgeFilesLines
* update nimgrep documentation (#17415)Andrey Makarov2021-03-231-100/+1
| | | | | | | * update nimgrep documentation * Update doc/nimgrep_cmdline.txt Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* nimgrep: change 2 iterators to closureAndrey Makarov2020-11-141-12/+14
|
* Nimgrep improvements 2 (#15612)Andrey Makarov2020-11-091-292/+1042
| | | | | | | | | | | | | | | | | | | | | | | | | | | * nimgrep: speed up by threads and Channels * nimgrep: add --bin, --text, --count options * nimgrep: add --sortTime option * allow Peg in all matches including --includeFile, --excludeFile, --excludeDir * add --match and --noMatch options * add --includeDir option * add --limit (-m) and --onlyAscii (-o) options * fix performance regression introduced in nimgrep improvements #12779 * better error handling * add option --fit * fix groups in --replace * fix flushing, --replace, improve --count * use "." as the default directory, not full path * fix --fit for Windows * force target to C for macosx * validate non-negative int input for options #15318 * switch nimgrep to using --gc:orc * address review: implement cropping in matches,... * implement stdin/pipe & revise --help * address stylistic review & add limitations
* deprecate existsDir; use dirExists instead (#14884)Timothee Cour2020-07-031-1/+1
|
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-021-1/+1
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* Improve #12920 fix (#13958)genotrance2020-04-121-3/+3
|
* fix #13528 nimgrep --word now works better with operators (#13537)Timothee Cour2020-03-021-1/+2
|
* Fix single match output (#12920)genotrance2019-12-171-0/+2
|
* nimgrep improvements (#12779)Andrey Makarov2019-12-051-97/+394
| | | | | | | | | | | | | | | | | | * fix sticky colors in styledWrite * nimgrep: context printing, colorthemes and other * add context printing (lines after and before a match) * nimgrep: add exclude/include options * nimgrep: improve error printing & symlink handling * nimgrep: rename dangerous `-r` argument * add a `--newLine` style option for starting matching/context lines from a new line * add color themes: 3 new themes besides default `simple` * enable printing of multi-line matches with line numbers * proper display of replace when there was another match replaced at the same line / context block * improve cmdline arguments error reporting
* fix nimgrep color on posix #7591 (#12288)Andrey Makarov2019-09-281-4/+12
|
* nimgrep: introduce the --rex optionAndreas Rumpf2019-07-271-5/+12
|
* nimgrep: fixes the -w optionAndreas Rumpf2019-07-271-1/+1
|
* minor style changesAraq2019-07-101-3/+3
|
* nimgrep: be less annoyingAraq2019-05-241-2/+1
|
* better default for nimgrepAraq2019-05-221-2/+4
|
* nimgrep: use standard regular expression syntax, not reExtendedAraq2019-01-131-1/+1
|
* nimgrep: fixes #989Araq2019-01-131-1/+1
|
* make more things compile without isNilAraq2018-08-221-1/+1
|
* nimgrep: count the number of matchesAndreas Rumpf2018-04-271-8/+11
|
* nimgrep: add --filenames optionAndreas Rumpf2018-04-241-7/+14
|
* [nimgrep] add option --oneline to keep file:line info when piping (#7592)Timothee Cour2018-04-131-6/+12
| | | through grep
* Faster nimgrep (#6983)Mathias Stearn2018-01-031-27/+19
| | | | | * compile nimgrep with -d:release * nimgrep: only parse pattern once at startup
* make nimgrep compile without warningsAndreas Rumpf2016-09-261-2/+2
|
* fixes #4751Andreas Rumpf2016-09-121-2/+2
|
* nimgrep version 1Araq2015-12-051-3/+11
|
* renamed writeln to writeLine in toolspatrick dw2015-06-191-45/+45
|
* Replaced deprecated repeatChar() with repeat() or spaces().Hans Raaf2015-03-041-1/+1
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* updated nimgrep toolAraq2014-09-101-6/+6
|
* nimgrep compiles againAraq2014-09-071-8/+8
|
* posix.nim compiles againAraq2014-08-291-3/+3
|
* Changed tests and tools to use 'discard' statements instead of 'nil' for ↵Clay Sweetser2014-02-151-1/+1
| | | | empty blocks.
* case consistency part 6Araq2013-12-281-3/+3
|
* Fixed terminal module so that it doesn't raise an EOS exception when stdout ↵Dominik Picheta2013-06-221-0/+2
| | | | is redirected.
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* added terminal.isatty; nimgrep version 0.9Araq2012-04-061-6/+25
|
* implemented incompleteStruct pragma; embedded debugger works with posix moduleAraq2012-01-051-2/+2
|
* year 2012 for most copyright headersAraq2012-01-021-2/+1
|
* clean exit codes for all the toolsAraq2011-08-011-2/+7
|
* bugfixes; added events module, sequtils moduleAraq2011-07-261-2/+4
|
* further steps for thread support; bootstrapping should require unzip C ↵Araq2011-05-161-5/+5
| | | | sources and ./build.sh
* nimgrep: version 0.8Araq2011-02-031-17/+54
|
* nimgrep --ext supportAraq2011-02-021-5/+14
|
* nimgrep: support for multiple input files/dirsAraq2011-02-021-6/+8
|
* nimgrep: first working versionAraq2011-02-021-29/+97
|
* commit before ov-res changesAraq2010-12-071-0/+191
iv class='alt'>
d526deb9 ^

05b64a1d ^
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107