2025-07-18 ...before ...morse20250718002.sh

#!/bin/bash

# (C) David Vajda
# uebungsprogramm morse
# 2025-07-18

echo "uebungsprogramm morse und telefon ... 2"
echo "(C) david vajda"
echo "written: 2025-07-18"
date

MorseLat=(A B C D E F G H I J K L M N O P Q R S T U V W X Y Z)

i=0
s=""
while [ $i -lt 128 ]
do
    s="$s${MorseLat[$(($RANDOM%26))]}"
    i=$(($i+1))
done

echo "uebersetze in morsezeichen"
echo "$s"