Write a shell script to find the count of employees working in a given department awk
Answers
Awk is a scripting language used for manipulating data and generating reports.The awk command programming language requires no compiling, and allows the user to use variables, numeric functions, string functions, and logical operators.
Awk is a utility that enables a programmer to write tiny but effective programs in the form of statements that define text patterns that are to be searched for in each line of a document and the action that is to be taken when a match is found within a line. Awk is mostly used for pattern scanning and processing. It searches one or more files to see if they contain lines that matches with the specified patterns and then performs the associated actions.
Awk is abbreviated from the names of the developers – Aho, Weinberger, and Kernighan.
Explanation:
Awk is the main used for sample scanning and processing.
It searches one or greater documents to peer in the event that they incorporate traces that fits with the required styles after which carry out the related actions.
AWK is a textual content-processing language with a records spanning greater than forty years.
It has a POSIX standard, numerous conforming implementations, and continues to be relatively applicable in 2020 — each for easy textual content processing obligations and for wrangling "large data".
The language turned into created at Bell Labs in 1977.