aliases functions
This commit is contained in:
parent
3e07b468d1
commit
6130f15fec
2 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue