diff --git a/sh/code.sh b/sh/code.sh index c676235..31339f6 100644 --- a/sh/code.sh +++ b/sh/code.sh @@ -110,6 +110,15 @@ EOF # parse variables _rwx_code_variables="$(rwx_parse_variables)" } + +rwx_code_parse() { + local action="${1}" + rwx_code | + awk \ + --assign action="${action}" \ + "${_rwx_code_awk}" +} + rwx_parse_aliases() { rwx_code | awk \