diff --git a/SC2019.md b/SC2019.md index c91422c..044e70f 100644 --- a/SC2019.md +++ b/SC2019.md @@ -1,13 +1,3 @@ ## 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 +See the equivalent warning for lowercase matching: [[SC2018]] \ No newline at end of file