diff --git a/SC2019.md b/SC2019.md new file mode 100644 index 0000000..c91422c --- /dev/null +++ b/SC2019.md @@ -0,0 +1,13 @@ +## Use '[:upper:]' to support accents and foreign alphabets. + +### Problematic code: + +```sh +PLATFORM="$(uname -s | tr 'A-Z')" +``` + +### Correct code: + +```sh +PLATFORM="$(uname -s | tr '[:upper:]')" +``` \ No newline at end of file