awk/variables

This commit is contained in:
Marc Beninca 2025-07-07 02:31:01 +02:00
parent fd281ee8d0
commit 40bd26f9ce
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 8 additions and 2 deletions

View file

@ -58,6 +58,10 @@ BEGIN {
if (match($0, RE_FUNCTION, m)) {
print m[1]
}
} else if (action == "variables") {
if (match($0, RE_CONSTANT, m)) {
print m[1]
}
} else if (action == "aliases functions") {
if (match($0, RE_ALIAS, m)) {
append(m[1])