Skip to content

rg not recursing when I give a directory for PATH #2521

Answered by BurntSushi
smprather asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, I know the issue. ripgrep skips binary files by default. So you need to pass --binary. -uuu will also do the trick.

When you ask to search a binary file explicitly (which is what /boo/bar/bin/* is doing since the shell expands the glob, not ripgrep), then --binary is implied.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@smprather
Comment options

@BurntSushi
Comment options

@BurntSushi
Comment options

Answer selected by smprather
@smprather
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants