Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We are an admission committee and we in process of communicating to acceptance or rejections to applicant / prospective students. We are given two files
We are an admission committee and we in process of communicating to acceptance or rejections to applicantprospective students.
We are given two files with list of accepted students and rejected students. We are also provided two files with message to be sent to each group.
Files:
rejectedList.txt
acceptedList.txt
acceptedMessage.txt
rejectionMessage.txt
Problem:
Your task is to write a bash program that accepts two arguments: text file of the message and list of students
The bash program will create a separate file for each student in the list provided with Hi followed by the message. Name of the file will be name of the studenttxt
So if the rejected list has students, your program once successfully executed should generate files with names of the students.
Submit two responses:
bash program
two calls to the program to create rejected message files and accepted message files for each student.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started