mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 01:30:21 -07:00
parent
46b07bb2ee
commit
e3b1f86908
4
GUIDE.md
4
GUIDE.md
@ -716,8 +716,8 @@ binary files:
|
|||||||
**only applies to files searched by ripgrep as a result of recursive
|
**only applies to files searched by ripgrep as a result of recursive
|
||||||
directory traversal**, which is consistent with ripgrep's other automatic
|
directory traversal**, which is consistent with ripgrep's other automatic
|
||||||
filtering. For example, `rg foo .file` will search `.file` even though it
|
filtering. For example, `rg foo .file` will search `.file` even though it
|
||||||
is hidden. Similarly, `rg foo binary-file` search `binary-file` in "binary"
|
is hidden. Similarly, `rg foo binary-file` will search `binary-file` in
|
||||||
mode automatically.
|
"binary" mode automatically.
|
||||||
2. Binary mode is similar to the default mode, except it will not always
|
2. Binary mode is similar to the default mode, except it will not always
|
||||||
stop searching after it sees a `NUL` byte. Namely, in this mode, ripgrep
|
stop searching after it sees a `NUL` byte. Namely, in this mode, ripgrep
|
||||||
will continue searching a file that is known to be binary until the first
|
will continue searching a file that is known to be binary until the first
|
||||||
|
Loading…
x
Reference in New Issue
Block a user