From a559f5455ede5e8e2210f97b113241dfa519a441 Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 7 Dec 2022 12:55:34 +0800 Subject: [PATCH] test sed lowercase --- .github/build-package-pages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/build-package-pages.sh b/.github/build-package-pages.sh index 7515ada..410228c 100755 --- a/.github/build-package-pages.sh +++ b/.github/build-package-pages.sh @@ -6,7 +6,7 @@ for row in $(jq -r '.[] | @base64' < "$1"); do _jq() { echo "${row}" | base64 --decode | jq -r "${1}" } - full_name=$(_jq '.full_name' | tr '[:upper:]' '[:lower:]') + full_name=$(_jq '.full_name' | sed 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/') if [[ "$full_name" == *\/* ]] || [[ "$full_name" == *\\* ]] then