grep
Here are 304 public repositories matching this topic...
I think it would be a good idea to mention the tee command, probably somewhere in the "Cat, Less, Tail and Head" chapter
-
Updated
May 23, 2020
-
Updated
Jun 27, 2020 - C++
I'd like to be able to run commands on all lines of a file. For example, bsed wrap lines with " should execute on all lines of the file. Current workaround is to include some trivial filter like wrap lines containing '.' with "
wc 用法错误
过滤器/README.md 中wc命令解释有问题
常用选项 描述 l 只统计行数 w 只统计单词数 m 只统计字符数 c 只统计字节数 L 最大行的长度 不管指定选项的顺序如何,其信息显示的顺序都是固定的,遵从上面从上到下的顺序。 若不加参数,则默认显示l,w,m三项。
若不加参数,则默认显示l,w,m三项。说明有误。实际应该等价于 -lwc
ref
By default, wc prints three counts: the newline, words, and byte counts.
It took me a bit to figure out what was wrong here, and I don't think it is documented
anywhere. Here are a couple issues I ran into:
-
If custom colors are defined in ~/.ripgreprc, eg.
--colors=path:fg:cyanetc. then
font-locking and other functions in the rg-results buffer don't work. -
Using
xterm-color-filteralso breaks rg's compilation (fromxterm-colorlibrary)
I usually
-
Updated
Jun 6, 2020 - Go
-
Updated
Apr 11, 2020 - Rust
-
Updated
Jun 20, 2020 - Shell
Improve docs
It's hard to understand what phpgrep does, how to use it and why it's useful.
Need to figure out how to fix that.
Suggestions are welcome.
@BurntSushi rightly reported that the 0.3.0 benchmarks do not pass '-u' to rg, thus giving the other utilities which don't look at .gitignore files an arguable unfair advantage. Address this.
Also, document how to obtain the corpi and run the benchmarks. This was slated for 0.3.0 (in my best intentions at least), but didn't make it. Maybe add rg's Linux corpus into the mix as well, it's a more
-
Updated
Apr 8, 2017 - Python
-
Updated
Jun 22, 2020 - C++
-
Updated
Dec 10, 2019 - Rust
-
Updated
Apr 11, 2020 - Emacs Lisp
Memory and CPU usage
I'm curious the Readme could included the memory and CPU usage between standard unix tools ga and rare?
Another take to benchmark on embedded device is useful.
-
Updated
Jun 20, 2020 - PowerShell
-
Updated
Jan 19, 2017 - Go
-
Updated
Jul 15, 2019 - C
-
Updated
Jun 5, 2020 - Vim script
-
Updated
Jun 2, 2020 - Go
Improve this page
Add a description, image, and links to the grep topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the grep topic, visit your repo's landing page and select "manage topics."
rg --debugshould output information about ignore files being read.Currently it outputs something like the following, but it is not clear where the patterns are coming from: