parent
44f415a8e8
commit
747d069449
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue