From b047f5ff504b2c9d998c0a9037aab9ec67dce4b5 Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Wed, 24 Jul 2024 09:35:41 +0200 Subject: [PATCH] Updated SC2021 (markdown) --- SC2021.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SC2021.md b/SC2021.md index fd3ef06..1f2838b 100644 --- a/SC2021.md +++ b/SC2021.md @@ -21,4 +21,8 @@ Unless you want to operate on literal square brackets, don't include them. If you do want to replace literal square brackets, reorder the expression (e.g. `a-z[]` to make it clear that the brackets are not special). -ShellCheck does not warn about correct usage of `[..]` in character and equivalence classes like `[:lower:]` and `[=e=]`. \ No newline at end of file +ShellCheck does not warn about correct usage of `[..]` in character and equivalence classes like `[:lower:]` and `[=e=]`. + +### Note: + +Busybox requires `CONFIG_FEATURE_TR_CLASSES` for this to work. If busybox was compiled without this feature, character classes will obviously not be available, and the correct usage is to use `a-z`, not `[a-z]`. \ No newline at end of file