From 9327161e72aeaed4e447246c3b5f6ceadd60143f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 6 Jul 2025 16:42:12 +0200 Subject: [PATCH] eval/oneline --- sh/main.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sh/main.sh b/sh/main.sh index 66751c7..0abfb5e 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -195,8 +195,7 @@ rwx_parse_code() { local line text RWX_ALIASES="$(rwx_parse_aliases)" while IFS= read -r line; do - text="s| = |() { |" - eval "$(echo "${line}" | sed "${text}") \"\${@}\"; }" + eval "$(echo "${line}" | sed "s| = |() { |") \"\${@}\"; }" done <