Question: Write a bash script getDate.sh that accepts a date from the user in the form mm/dd/yyyy, and then displays it in the form yyyy-mm-dd: Sample
Write a bash script getDate.sh that accepts a date from the user in the form mm/dd/yyyy, and then displays it in the form yyyy-mm-dd:
Sample Output:
Enter a date (mm/dd/yyyy): 3/22/2018
You entered 2018-03-22
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
