Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
