−=
All checks were successful
/ job (push) Successful in 4m29s

This commit is contained in:
Marc Beninca 2025-07-06 16:47:30 +02:00
parent 44f415a8e8
commit 747d069449
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ BEGIN {
} else if (match($0, RE_FUNCTION, m)) { } else if (match($0, RE_FUNCTION, m)) {
n = split(doc, array, "\n") n = split(doc, array, "\n")
for (i = 1; i<= n; i++) { for (i = 1; i<= n; i++) {
print array[i] " = " m[1] print array[i] " " m[1]
} }
reset() reset()
} else { } else {

View file

@ -195,7 +195,7 @@ rwx_parse_code() {
local line text local line text
RWX_ALIASES="$(rwx_parse_aliases)" RWX_ALIASES="$(rwx_parse_aliases)"
while IFS= read -r line; do while IFS= read -r line; do
text="$(echo "${line}" | sed "s| = |() { |")" text="$(echo "${line}" | sed "s| |() { |")"
text="${text} \"\${@}\"; }" text="${text} \"\${@}\"; }"
eval "${text}" eval "${text}"
done <<EOF done <<EOF