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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!