Question: Write a script that receives a parameter of a major and uses a while read statement to input the data from the student.txt file. Output
Write a script that receives a parameter of a major and uses a while read statement to input the data from the student.txt file. Output a list of all students who are of that major and output the number of students found. For instance, you might call this with ./script16 CSC < student.txt to find all CSC students.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
