Print file name and line number together in results? #1922
-
Hi as I am using rg I get the result like this: But in reality lots of times I am in a vscode terminal and if the result include the file name and line number together I can simply Any option to include the line number and file name together? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Sure. Use |
Beta Was this translation helpful? Give feedback.
-
Let me use this beautiful screenshot as a base for the next related question. Now I extend the chain of commands
And here an unexpected turn happens: Instead of
the contents of either clipboard or output.txt become
Aggrrhh! How to pass results further exactly as they are in the screenshot, |
Beta Was this translation helpful? Give feedback.
Sure. Use
--no-heading
.