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

Restrict files from command line #1063

Closed
Nokel81 opened this issue Sep 24, 2018 · 1 comment
Closed

Restrict files from command line #1063

Nokel81 opened this issue Sep 24, 2018 · 1 comment
Labels
invalid An issue that is not actually a bug or a feature that already exists.

Comments

@Nokel81
Copy link

Nokel81 commented Sep 24, 2018

What version of ripgrep are you using?

ripgrep 0.10.0 (rev 8a7db1a)
-SIMD -AVX (compiled)
+SIMD +AVX (runtime)

How did you install ripgrep?

sudo apt-get install ripgrep

What operating system are you using ripgrep on?

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

Describe your question, feature request, or bug.

Feature Request: Restricting files from the command line.

This would allow for per command basis of limiting which files were searched based on their names. The pattern would be another regex and it would be a positive (or negative) match based on which of two parameters were passed in.

@BurntSushi BurntSushi added the invalid An issue that is not actually a bug or a feature that already exists. label Sep 24, 2018
@BurntSushi
Copy link
Owner

Please consider reading the GUIDE before filing feature requests. I'll add this tip to the issue template.

In particular, see the section on glob rules and file types.

sudo apt-get install ripgrep

ripgrep is not available in Bionic. Could you please clarify how you installed it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid An issue that is not actually a bug or a feature that already exists.
Projects
None yet
Development

No branches or pull requests

2 participants