diff --git a/sh/main.awk b/sh/main.awk index d21bf86..b8a8f59 100644 --- a/sh/main.awk +++ b/sh/main.awk @@ -52,7 +52,7 @@ BEGIN { } else if (match($0, RE_FUNCTION, m)) { n = split(doc, array, "\n") for (i = 1; i<= n; i++) { - print array[i] " = " m[1] + print array[i] " " m[1] } reset() } else { diff --git a/sh/main.sh b/sh/main.sh index ae806a3..838b028 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -195,7 +195,7 @@ rwx_parse_code() { local line text RWX_ALIASES="$(rwx_parse_aliases)" while IFS= read -r line; do - text="$(echo "${line}" | sed "s| = |() { |")" + text="$(echo "${line}" | sed "s| |() { |")" text="${text} \"\${@}\"; }" eval "${text}" done <