Develop a control-break awk program that reads empnlst and


Problem

1. Develop an awk program that reads /etc/passwd and prints the names of those users having the same GID in the form GID name1 name2 ...... Does the input data need to be sorted?

2. Improve address book.awk to place the entire awk program in a shell script. The script must accept three parameters: the number of lines comprising a record, the input file, and the desired delimiter.

3. Develop a control-break awk program that reads empn.lst and prints a report that groups employees of the same department. For each department, the report should print:

(i) the department name at the top.

(ii) the remaining details of every person in the department.

(iii) total salary bill for that department.

Do you need to process the input before it is read by awk?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Develop a control-break awk program that reads empnlst and
Reference No:- TGS02671759

Expected delivery within 24 Hours