commands/eval
This commit is contained in:
parent
d80b61f490
commit
ffdfe0fc90
2 changed files with 2 additions and 4 deletions
|
@ -196,9 +196,7 @@ EOF
|
|||
# parse commands functions
|
||||
_rwx_code_commands_functions="$(rwx_code_parse "commands functions")"
|
||||
while IFS= read -r line; do
|
||||
text="$(echo "${line}" | sed "s| |() { |")"
|
||||
text="${text} \"\${@}\"; }"
|
||||
eval "${text}"
|
||||
eval "${line}"
|
||||
done <<EOF
|
||||
${_rwx_code_commands_functions}
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue