how to show small context window around a match within a line #2319
-
I had a really hard time figuring this out, so wanted to share it here for others. I'm new here... so this may only be of value to others starting out. rg -o ".{0,5}string_here.{0,5}" C:\Users\your_folder_or_file_etc |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thank you for posting this! |
Beta Was this translation helpful? Give feedback.
-
Just switching this to a Q&A and posting your answer (trying to keep things organized):
|
Beta Was this translation helpful? Give feedback.
Just switching this to a Q&A and posting your answer (trying to keep things organized):