mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-03 21:51:58 -07:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0263a401f6 | ||
|
4cb1b9ccc0 | ||
|
6f80e2e126 | ||
|
f9bff90842 | ||
|
5af4ec0056 |
@@ -15,9 +15,6 @@ matrix:
|
|||||||
- os: linux
|
- os: linux
|
||||||
rust: nightly
|
rust: nightly
|
||||||
env: TARGET=x86_64-unknown-linux-musl
|
env: TARGET=x86_64-unknown-linux-musl
|
||||||
- os: linux
|
|
||||||
rust: nightly
|
|
||||||
env: TARGET=x86_64-unknown-linux-gnu
|
|
||||||
- os: osx
|
- os: osx
|
||||||
rust: nightly
|
rust: nightly
|
||||||
env: TARGET=i686-apple-darwin
|
env: TARGET=i686-apple-darwin
|
||||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1,6 +1,6 @@
|
|||||||
[root]
|
[root]
|
||||||
name = "ripgrep"
|
name = "ripgrep"
|
||||||
version = "0.1.6"
|
version = "0.1.8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"deque 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"deque 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"docopt 0.6.83 (registry+https://github.com/rust-lang/crates.io-index)",
|
"docopt 0.6.83 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ripgrep"
|
name = "ripgrep"
|
||||||
version = "0.1.6" #:version
|
version = "0.1.8" #:version
|
||||||
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
||||||
description = """
|
description = """
|
||||||
Line oriented search tool using Rust's regex library. Combines the raw
|
Line oriented search tool using Rust's regex library. Combines the raw
|
||||||
|
@@ -18,8 +18,8 @@ Dual-licensed under MIT or the [UNLICENSE](http://unlicense.org).
|
|||||||
### Quick example comparing tools
|
### Quick example comparing tools
|
||||||
|
|
||||||
This example searches the entire Linux kernel source tree (after running
|
This example searches the entire Linux kernel source tree (after running
|
||||||
`make`) for `[A-Z]+_SUSPEND`, where all matches must be words. Timings were
|
`make defconfig && make -j8`) for `[A-Z]+_SUSPEND`, where all matches must be
|
||||||
collected on a system with an Intel i7-6900K 3.2 GHz.
|
words. Timings were collected on a system with an Intel i7-6900K 3.2 GHz.
|
||||||
|
|
||||||
Please remember that a single benchmark is never enough! See my
|
Please remember that a single benchmark is never enough! See my
|
||||||
[blog post on `ripgrep`](http://blog.burntsushi.net/ripgrep/)
|
[blog post on `ripgrep`](http://blog.burntsushi.net/ripgrep/)
|
||||||
@@ -134,10 +134,11 @@ insufficient. In all cases, `.rgignore` patterns take precedence over
|
|||||||
To ignore all ignore files, use `-u`. To additionally search hidden files
|
To ignore all ignore files, use `-u`. To additionally search hidden files
|
||||||
and directories, use `-uu`. To additionally search binary files, use `-uuu`.
|
and directories, use `-uu`. To additionally search binary files, use `-uuu`.
|
||||||
(In other words, "search everything, dammit!") In particular, `rg -uuu` is
|
(In other words, "search everything, dammit!") In particular, `rg -uuu` is
|
||||||
equivalent to `grep -r`.
|
equivalent to `grep -a -r`.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ rg -uuu foobar # equivalent to `grep -r`
|
$ rg -uu foobar # equivalent to `grep -r`
|
||||||
|
$ rg -uuu foobar # equivalent to `grep -a -r`
|
||||||
```
|
```
|
||||||
|
|
||||||
(Tip: If your ignore files aren't being adhered to like you expect, run your
|
(Tip: If your ignore files aren't being adhered to like you expect, run your
|
||||||
|
Reference in New Issue
Block a user