Question: Problem 2 Write a script called 122.sh to do the following It reads the name of the person The person might enter his/her name as

 Problem 2 Write a script called 122.sh to do the following

Problem 2 Write a script called 122.sh to do the following It reads the name of the person The person might enter his/her name as first name followed by last name, or first name, followed by middle name, then last name. The scripts display on the monitor firstname lastname (with only one space between them, no other spaces) Problem 3 Modify 122.sh to 123.sh to do the following. If there is a middle name, the program displays first name, followed by space then the first letter of the middle name, followed by a period "." then space and last name. For example if the name is David Lee Roth, it display David L. Roth

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!