From 75487be90afa92b2ab085d392e9d123e4bbe8cc0 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 6 Jul 2025 16:41:01 +0200 Subject: [PATCH] eval/shrink --- sh/main.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sh/main.sh b/sh/main.sh index 94908be..66751c7 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -196,9 +196,7 @@ rwx_parse_code() { RWX_ALIASES="$(rwx_parse_aliases)" while IFS= read -r line; do text="s| = |() { |" - text="$(echo "${line}" | sed "${text}")" - text="${text} \"\${@}\"; }" - eval "${text}" + eval "$(echo "${line}" | sed "${text}") \"\${@}\"; }" done <