Skip to content

Instantly share code, notes, and snippets.

@sdball
Created October 24, 2018 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sdball/ccafc964527e60f0e0866335d6633986 to your computer and use it in GitHub Desktop.
Save sdball/ccafc964527e60f0e0866335d6633986 to your computer and use it in GitHub Desktop.
check_letter() {
echo "$1: `type $1 >/dev/null && type $1 | sed -e \"s/^$1: //\" | tr '\n' ' '`";
}
letters() {
for letter in {a..z}; do
check_letter $letter
check_letter `echo $letter | tr a-z A-Z`
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment