From 0c5578aca1cba2cebcd80869229f824e6291143b Mon Sep 17 00:00:00 2001 From: Rody Vilchez <102562850+R0SEWT@users.noreply.github.com> Date: Thu, 4 Jun 2026 01:16:59 -0500 Subject: [PATCH] style: use POSIX character classes in tr (5q6.7) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ShellCheck SC2018/SC2019 on scaffold.sh:57 — tr 'A-Z' 'a-z' is flagged because plain ranges don't cover accents/foreign alphabets. Switch to tr '[:upper:]' '[:lower:]'. No behavior change for ASCII names; turns the lint CI job green so PR #1 can merge. --- scripts/scaffold.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/scaffold.sh b/scripts/scaffold.sh index cd6fd57..f5e235d 100755 --- a/scripts/scaffold.sh +++ b/scripts/scaffold.sh @@ -54,7 +54,7 @@ done case "$PROFILE" in data|python|minimal) ;; *) echo "error: --profile must be data|python|minimal" >&2; exit 1 ;; esac [[ -n "$NAME" ]] || NAME="$(basename "$TARGET")" -PKG="$(printf '%s' "$NAME" | sed -e 's/[^A-Za-z0-9]/_/g' | tr 'A-Z' 'a-z')" +PKG="$(printf '%s' "$NAME" | sed -e 's/[^A-Za-z0-9]/_/g' | tr '[:upper:]' '[:lower:]')" TARGET_VERSION="py${PYTHON//./}" TS="$(date +%Y%m%d-%H%M%S)"