Question: Consider the three files (all fields are separated by tabs A.txt S_name S_ID S_address Where S_name is the student name, format is lastname, firstname S_ID

Consider the three files (all fields are separated by tabs

A.txt

S_name

S_ID

S_address Where

S_name is the student name, format is lastname, firstname

S_ID is the student ID

S_address is the student address

The fields are separated by tabs

B.txt

C_Dept

C_number

C_name

Description C_Dept is course dept, for example EECS C_number is course number forexample 2032 C_name is course name for example Introduction to embedded systems

C.txt

S_ID C_Dept C_number

Write a bash script that takes as an argument student name and displays all the courses the students is registered in as Dept followed by C_numbe For example the input is

Doe, John

The Output is

EECS2032

EECS2021

EECS2200

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!