16 lines
291 B
Bash
16 lines
291 B
Bash
# get functions from file
|
|
rwx_self_functions() {
|
|
grep \
|
|
--directories "recurse" \
|
|
--no-filename \
|
|
"()" "${RWX_ROOT_SYSTEM}" |
|
|
cut --delimiter "(" --fields 1
|
|
}
|
|
|
|
# output help message
|
|
rwx_self_help() {
|
|
rwx_log \
|
|
"rwx_… = functions" \
|
|
" a__… = aliases" \
|
|
" u__… = user"
|
|
}
|