rwx/sh/self.sh
Marc Beninca 745e8f0a28
All checks were successful
/ job (push) Successful in 1m16s
useless
2024-11-30 00:12:01 +01:00

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"
}