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