Using Bash Shell Create English Morse Code Translator Script Take String S Parameter Scrip Q37082961

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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.