Uppercase in BASH
This post is part of the archive. It was written years ago, so some of the tools, versions and links may be outdated.
echo "foo" | tr '[:lower:]' '[:upper:]'
Reverse upper with lower to get lowercase.
This post is part of the archive. It was written years ago, so some of the tools, versions and links may be outdated.
echo "foo" | tr '[:lower:]' '[:upper:]'
Reverse upper with lower to get lowercase.