aliases functions

This commit is contained in:
Marc Beninca 2025-07-07 01:47:07 +02:00
parent 3e07b468d1
commit 6130f15fec
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ BEGIN {
} }
{ {
if (action == "alias") { if (action == "aliases functions") {
if (match($0, RE_ALIAS, m)) { if (match($0, RE_ALIAS, m)) {
append(m[1]) append(m[1])
} else if (match($0, RE_FUNCTION, m)) { } else if (match($0, RE_FUNCTION, m)) {

View file

@ -222,7 +222,7 @@ EOF
rwx_parse_aliases_functions() { rwx_parse_aliases_functions() {
printf "%s" "${_rwx_code}" | printf "%s" "${_rwx_code}" |
awk \ awk \
--assign action="alias" \ --assign action="aliases functions" \
"$(rwx_code_awk)" "$(rwx_code_awk)"
} }
rwx_parse_constants() { rwx_parse_constants() {