parent
785b52f4b3
commit
49b9fbe8c3
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,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 {
|
||||||
|
|
|
@ -189,7 +189,7 @@ rwx_parse_code() {
|
||||||
local line
|
local line
|
||||||
RWX_ALIASES="$(rwx_parse_aliases)"
|
RWX_ALIASES="$(rwx_parse_aliases)"
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
eval "${line}"
|
eval "${line/ = /() { } \"\${@}\"; }"
|
||||||
done <<EOF
|
done <<EOF
|
||||||
${RWX_ALIASES}
|
${RWX_ALIASES}
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue