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