author | Olivier Brunel
<jjk@jjacky.com> 2023-04-14 13:19:49 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2023-04-14 13:19:49 UTC |
parent | 5a2b63578d8cdefb373204cbf2b42b6a336c8145 |
libcomain | +2 | -2 |
diff --git a/libcomain b/libcomain index 1c461c5..2faac22 100644 --- a/libcomain +++ b/libcomain @@ -33,12 +33,12 @@ warn() upper() { - printf "%s" "$@" | tr [:lower:] [:upper:] + printf "%s" "$@" | tr '[:lower:]' '[:upper:]' } sanitize() { - printf "%s" "$@" | tr [:lower:] [:upper:] | tr -c [:alnum:] _ + printf "%s" "$@" | tr '[:lower:]' '[:upper:]' | tr -c '[:alnum:]' _ } quote()