From f4495280cf8b2abb123f66eb1e36754c60197dfb Mon Sep 17 00:00:00 2001 From: justin Date: Tue, 27 Jan 2026 15:25:05 -0500 Subject: [PATCH] AWK output needs to be sanitized --- misc/alpine-tools.func | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/alpine-tools.func b/misc/alpine-tools.func index 9aee5ca56..3ddc7fda8 100644 --- a/misc/alpine-tools.func +++ b/misc/alpine-tools.func @@ -320,7 +320,8 @@ fetch_and_deploy_gh_release() { # The command is the same for all cases other than tarball/source get_url() { printf '%s' "$json" | jq -r '.assets[].browser_download_url' | - awk -v p="$pattern" 'BEGIN{IGNORECASE=1} $0 ~ p {print; exit}' + awk -v p="$pattern" 'BEGIN{IGNORECASE=1} $0 ~ p {print; exit}' | + tr -d '[:cntrl:]' } case "$mode" in