Compare commits

..

No commits in common. "0926d058f554380bcf8290ff4f93d324678b076c" and "a3ea2e6ef06b088c6dc75d234de1eb55d9e12885" have entirely different histories.

2 changed files with 0 additions and 22 deletions

View file

@ -31,7 +31,6 @@ BEGIN {
RE_FUNC = RE_SPACES "\\(" RE_SPACES "\\)" RE_SPACES "{" RE_FUNC = RE_SPACES "\\(" RE_SPACES "\\)" RE_SPACES "{"
RE_ALIAS = RE_BEGIN "#=" RE_SPACES RE_VAR RE_END RE_ALIAS = RE_BEGIN "#=" RE_SPACES RE_VAR RE_END
RE_BINARY = RE_BEGIN "#\\|" RE_SPACES RE_VAR RE_END
RE_CLOSE = RE_BEGIN "}" RE_SPACES RE_END RE_CLOSE = RE_BEGIN "}" RE_SPACES RE_END
RE_COMMAND = RE_BEGIN "#/" RE_SPACES RE_VAR RE_END RE_COMMAND = RE_BEGIN "#/" RE_SPACES RE_VAR RE_END
RE_CONSTANT = RE_BEGIN RE_CONST RE_SET RE_END RE_CONSTANT = RE_BEGIN RE_CONST RE_SET RE_END
@ -53,10 +52,6 @@ BEGIN {
if (match($0, RE_ALIAS, m)) { if (match($0, RE_ALIAS, m)) {
print m[1] print m[1]
} }
} else if (action == "binaries") {
if (match($0, RE_BINARY, m)) {
binaries[m[1]] = ""
}
} else if (action == "commands") { } else if (action == "commands") {
if (match($0, RE_COMMAND, m)) { if (match($0, RE_COMMAND, m)) {
print m[1] print m[1]
@ -148,11 +143,3 @@ BEGIN {
} }
} }
} }
END {
if (action == "binaries") {
for (binary in binaries) {
print binary
}
}
}

View file

@ -18,8 +18,6 @@ _rwx_code_awk="$(cat "${RWX_ROOT_SYSTEM}/code.awk")"
_rwx_code_aliases="" _rwx_code_aliases=""
# cache for code aliases functions # cache for code aliases functions
_rwx_code_aliases_functions="" _rwx_code_aliases_functions=""
# cache for code binaries
_rwx_code_binaries=""
# cache for code commands # cache for code commands
_rwx_code_commands="" _rwx_code_commands=""
# cache for code constants # cache for code constants
@ -122,11 +120,6 @@ rwx_code_aliases_functions() {
echo "${_rwx_code_aliases_functions}" echo "${_rwx_code_aliases_functions}"
} }
# show the cached binaries
rwx_code_binaries() {
echo "${_rwx_code_binaries}"
}
# show the cached commands # show the cached commands
rwx_code_commands() { rwx_code_commands() {
echo "${_rwx_code_commands}" echo "${_rwx_code_commands}"
@ -189,8 +182,6 @@ rwx_code_load() {
done <<EOF done <<EOF
${_rwx_code_aliases_functions} ${_rwx_code_aliases_functions}
EOF EOF
# parse binaries
_rwx_code_binaries="$(rwx_code_parse "binaries")"
# parse commands # parse commands
_rwx_code_commands="$(rwx_code_parse "commands")" _rwx_code_commands="$(rwx_code_parse "commands")"
# parse constants # parse constants