From dbfe0e1407188f3fc473cb462c4237919297d48b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 7 Jul 2025 02:23:26 +0200 Subject: [PATCH] awk/variable --- sh/code.sh | 2 +- sh/main.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sh/code.sh b/sh/code.sh index 8838276..2ec9095 100644 --- a/sh/code.sh +++ b/sh/code.sh @@ -77,5 +77,5 @@ rwx_code_doc() { awk \ --assign action="doc" \ --assign target="${name}" \ - "$(rwx_code_awk)" + "${_rwx_code_awk}" } diff --git a/sh/main.sh b/sh/main.sh index 7d3f4b7..947f368 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -225,13 +225,13 @@ rwx_parse_aliases() { echo "${_rwx_code}" | awk \ --assign action="aliases" \ - "$(rwx_code_awk)" + "${_rwx_code_awk}" } rwx_parse_aliases_functions() { printf "%s" "${_rwx_code}" | awk \ --assign action="aliases functions" \ - "$(rwx_code_awk)" + "${_rwx_code_awk}" } rwx_parse_constants() { printf "%s" "${_rwx_code}" | @@ -241,7 +241,7 @@ rwx_parse_functions() { echo "${_rwx_code}" | awk \ --assign action="functions" \ - "$(rwx_code_awk)" + "${_rwx_code_awk}" } rwx_parse_variables() { printf "%s" "${_rwx_code}" |