Last active
April 13, 2018 20:05
-
-
Save tubaterry/2487a8114705535aaf8ef533a9636329 to your computer and use it in GitHub Desktop.
this string contains every letter in the english alphabet dfjkmquwxz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PHRASE=${1} | |
echo -n "${PHRASE} " | |
for letter in {a..z}; do | |
echo "${PHRASE}" | grep -i $letter > /dev/null | |
if [ $? -ne 0 ]; then | |
echo -n $letter | |
fi | |
done | |
echo | |
#jkmqwxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment