Updated SC2021 (markdown)

Olliver Schinagl
2024-07-24 09:35:41 +02:00
parent 28dafe655d
commit b047f5ff50

@@ -22,3 +22,7 @@ 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=]`.
### 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]`.