Created
April 24, 2020 17:53
-
-
Save aksinghdce/9d0e92cb7b7f9d7d538f6fc10957e12a to your computer and use it in GitHub Desktop.
Grep for pattern in one line file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -E -o ".{0,10}pattern.{0,10}" content.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment