Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search from stdin? #194

Closed
hh9527 opened this issue Oct 24, 2016 · 1 comment
Closed

search from stdin? #194

hh9527 opened this issue Oct 24, 2016 · 1 comment

Comments

@hh9527
Copy link

hh9527 commented Oct 24, 2016

Is there flags to support grep content from stdin?
like set | grep ABC

@BurntSushi
Copy link
Owner

Umm, try it?

$ echo hi | rg hi
1:hi

Note that if you're on Windows, there is currently an open bug (#94). You can work around it by explicitly searching stdin rg hi -.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants