Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Now write another script fin 2 . sh . This script does not accept command line options or parameters. Instead it prompts and reads
Now write another script "finsh This script does not accept command line options or parameters. Instead it prompts and reads user input from stdin. Proper use of the read command is expected. "finsh needs to accept an additional option q The script should repeatedly prompt the user to choose one option to run. Once the user types q "finsh should stop and exit. The other acceptable options in "finsh are ef and h which are exactly the same as those in "finsh and call the appropriate lab script. For any unrecognized option value, print an error message.
Note: "finsh may needs to have a completely different way to take inputs. Instead of taking options and parameters from the command line, prompt the user for these values using appropriate commands.
Be sure to upload an executable ASCII file. Screenshots will not be accepted.
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