-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
add --no-column flag to override --column (and --vimgrep) #880
Comments
Your output shows column numbers, not line numbers. Could you please explain what problem you're trying to solve? |
I just need the plain output without any extras. Basically what it reads "a line with more than one match will be printed more than once", so I can count the duplicates. |
Your sentences seem to be in conflict with each other. "Plain output" to me is "print every line that matches." If you want each match to be on its own line, then |
It's basically for the workaround to do AND grepping which I haven't found, so:
should show me only the lines with all 3 patterns present, but because of extra column numbers, it doesn't work. So for further workaround, I'll have to filter out the output using |
@kenorb You're overthinking it. Look at the output of |
See also: |
I need basically |
@kenorb Then I have no idea what you're doing. |
I know, but I was looking for some method to run |
Then why in the world did you file a bug report about |
If that's what your after, then I guess you probably want #875. (It's not clear whether it will ever happen.) |
I would expect that |
A request for a As far as I can tell, your use of |
So I would expect this output:
but without |
I've updated this issue to reflect the actual request. |
@kenorb OK, I'm finding this conversation to be frustrating. It's going in circles. I don't know where, how or why you're confused. If this is just a request for something as simple as |
Seems like the reason @kenorb is interested in |
@okdana Thanks for lending some clarity to this issue! I forgot that |
ripgrep should have a
--no-column
flag as a way to toggle the--column
flag. Like--no-line-number
, this should also override--vimgrep
.The text was updated successfully, but these errors were encountered: