nikolaymartin New Member Joined May 31, 2019 Messages 4 Reaction score 2 Credits 19 May 31, 2019 #1 I want to match multiple search terms in awk with a single command. How ca i specify multiple search terms to math?
I want to match multiple search terms in awk with a single command. How ca i specify multiple search terms to math?
E edizgeorgi New Member Joined Jun 1, 2019 Messages 3 Reaction score 0 Credits 13 Jun 1, 2019 #2 You can use $awk '/A/ > /B/' alphabet.txt A or B will match in the given file named alphabet.txt for more details: https://www.poftut.com/awk-print-tutorial-with-examples/
You can use $awk '/A/ > /B/' alphabet.txt A or B will match in the given file named alphabet.txt for more details: https://www.poftut.com/awk-print-tutorial-with-examples/