Hương Trang
New member
What is awk script?
Answer
AWK is a special-purpose programming language designed for text processing and typically used as a data extraction and reporting tool. When written in all lowercase letters, as awk , it refers to the Unix or Plan 9 program that runs scripts written in the AWK programming language.
Photo in the article by “Wikimedia Commons”
The grep command is used to search text or searches the given file for lines containing a match to the given strings or words.
By default, grep displays the matching lines.
Use grep to search for lines of text that match one or many regular expressions, and outputs only the matching lines.
Answer
AWK is a special-purpose programming language designed for text processing and typically used as a data extraction and reporting tool. When written in all lowercase letters, as awk , it refers to the Unix or Plan 9 program that runs scripts written in the AWK programming language.
Photo in the article by “Wikimedia Commons”
Code:
https://commons.wikimedia.org/wiki/File:Grep-tutorial-05.jpg
By default, grep displays the matching lines.
Use grep to search for lines of text that match one or many regular expressions, and outputs only the matching lines.