Question: For this assignment, you will use bash to create a simple course catalog for administrators to update the details of each course offered by their

For this assignment, you will use bash to create a simple course catalog for administrators to update the details of each course offered by their department. The system will store basic information about each course, allowing the user to create, read, update, and delete them.
This assignment requires only the utilities used so far in the lecture notes. Do not use sed, awk.
Course information will be stored in text files.
Files will be stored inside a directory called data within the same directory as your script.
Each file will be named based on the combination of a department code and a course number,
Assignment 1: Shell Scripting
Which consists of two or three letters followed by an integer with exactly four digits, followed
by the extension .crs (notice that the text file does not end in .txt. Does that need to be
accounted for?).
A course file consists of exactly five lines:
dept_code (two or three letter abbreviation) dept_name (string with probable whitespace)
course_name (string with probable whitespace)
course_sched (string consisting precisely of either MWF or TH) course_start (string with no whitespace) course end (string with no whitespace)
course hours (credit hours, unsigned integer)
course size (enrolled students, unsigned integer)
Department names may contain whitespace. You should account for names with multiple tokens (e.g.,ESL English as a Second Language= dept_code =ESL, and dept_name =English as a Second Language)
Example file named esl3053.crs
Your program should consist of seven bash files with the following names (case sensitive):
assign1.bash - the main file which is initially invoked
create.bash - logic for the create option
read.bash - logic for the read option
update.bash - logic for the update option
delete.bash - logic for the delete option
enroll.bash - logic for the enrollment option
total.bash - logic for the total option

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!