-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
--file
output includes './'
#21
Labels
enhancement
An enhancement to the functionality of the software.
Comments
I think the current behavior matches I'm not opposed to adding a flag. What about changing the default output instead? |
Yes, the current behaviour does match |
amsharma91
added a commit
to amsharma91/ripgrep
that referenced
this issue
Sep 27, 2016
This is kind of a ticky-tack change. I do think ./ as a prefix is reasonable default, *but* we strip ./ when showing search results, so it does make sense to be consistent. Fixes BurntSushi#21.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, I'm playing around with
rg
as a replacement forag
in my fuzzy file finder and I noticed the output ofrg --files
includes a './' in the output, ex:In comparison to
ag -g ''
orack -g ''
which looks like this:Would you consider adding an option for this or changing it to match ack/ag? I'm aware I can use sed, but it would be nice if it was built-in.
Thanks
The text was updated successfully, but these errors were encountered: