Skip to content

Instantly share code, notes, and snippets.

@srMarquinho
Created June 21, 2018 09:16
Show Gist options
  • Save srMarquinho/5c11b71e3742674c31fb989c14dc693c to your computer and use it in GitHub Desktop.
Save srMarquinho/5c11b71e3742674c31fb989c14dc693c to your computer and use it in GitHub Desktop.
awk multiple strings - grep alternative
awk '/word1/&&/word2/&&/word3/&&/word4/' file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment