Answered step by step
Verified Expert Solution
Link Copied!

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 applicant/prospective 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: (1) text file of the message and (2) 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 student+".txt"
So if the rejected list has 5 students, your program once successfully executed should generate 5 files with names of the students.
Submit two responses:
(1) bash program
(2) 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students also viewed these Databases questions

Question

1. Which position would you take?

Answered: 1 week ago