From a58120b7acfa4ecd22a413a1f83e16f0b493557a Mon Sep 17 00:00:00 2001 From: fbt Date: Sat, 28 Nov 2026 04:39:56 +0000 Subject: [PATCH] maintenance Signed-off-by: fbt --- sx-open | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sx-open b/sx-open index ef1480f..4f88ad1 100755 --- a/sx-open +++ b/sx-open @@ -19,8 +19,6 @@ act() { return 0 } -urldecode() { : "${*//+/ }"; printf '%b\n' "${_//%/\\x}"; } - # cfg foo bool = [true|1] # cfg foo [string] = 'bar' # cfg foo @@ -55,7 +53,7 @@ cfg() { esac } - _s="$2" + _s="$*" break ;; @@ -223,7 +221,6 @@ main() { done target=$1; [[ "$target" ]] || { usage; exit 1; } -# target=$(urldecode "$target") # No idea why I thought this was necessary. cfg dryrun && { printf 'Dry run: not actually running the handler\n' >&2