Skip to content

Instantly share code, notes, and snippets.

@tubaterry
Last active April 13, 2018 20:05
Show Gist options
  • Save tubaterry/2487a8114705535aaf8ef533a9636329 to your computer and use it in GitHub Desktop.
Save tubaterry/2487a8114705535aaf8ef533a9636329 to your computer and use it in GitHub Desktop.
this string contains every letter in the english alphabet dfjkmquwxz
#!/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