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)) {
|
||||
n = split(doc, array, "\n")
|
||||
for (i = 1; i<= n; i++) {
|
||||
print array[i] "() { " m[1] " \"${@}\" ; }"
|
||||
print array[i] " = " m[1]
|
||||
}
|
||||
reset()
|
||||
} else {
|
||||
|
|
|
@ -189,7 +189,7 @@ rwx_parse_code() {
|
|||
local line
|
||||
RWX_ALIASES="$(rwx_parse_aliases)"
|
||||
while IFS= read -r line; do
|
||||
eval "${line}"
|
||||
eval "${line/ = /() { } \"\${@}\"; }"
|
||||
done <<EOF
|
||||
${RWX_ALIASES}
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue