Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
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