Created
June 21, 2018 09:16
-
-
Save srMarquinho/5c11b71e3742674c31fb989c14dc693c to your computer and use it in GitHub Desktop.
awk multiple strings - grep alternative
This file contains hidden or 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
awk '/word1/&&/word2/&&/word3/&&/word4/' file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment