From 14ab41c005e8428bae86561b781ee4909f51a17c Mon Sep 17 00:00:00 2001 From: Martin Bagge / brother Date: Mon, 12 Jun 2017 10:31:24 +0200 Subject: [PATCH] A first simple proposal --- SC2018.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 SC2018.md 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