Skip to content
Martin Bagge / brother edited this page Jun 12, 2017 · 3 revisions

Use '[:upper:]' to support accents and foreign alphabets.

Problematic code:

PLATFORM="$(uname -s | tr 'A-Z')"

Correct code:

PLATFORM="$(uname -s | tr '[:upper:]')"

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.

Clone this wiki locally