Using the bash shell, create an English to Morse Codetranslator. The script will take a string as it’s only parameter.The script will handle capital letters, numbers and space only. Thescript will use an associative array to look up the English letterand find its matching Morse Code. Between each code will be a”,SP,”, and at the end of the line an EOT. If there is a space atthe beginning “SP,” or end “,SP” of the line there will only be onecomma needed.
Our book does a little with arrays, but I provided an additionalexample in ~dkitchincis204 called arrayExample to help youalong.
As an
OR
OR