code/awk
All checks were successful
/ job (push) Successful in 4m27s

This commit is contained in:
Marc Beninca 2025-07-07 01:13:06 +02:00
parent be43cb7fe1
commit 2f7dd63c74
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
4 changed files with 14 additions and 9 deletions

View file

@ -1,10 +1,18 @@
# code
# module
# ╭──────╮
# │ code │
# ╰──────╯
# ╭──────┬───────────╮
# │ code │ variables │
# ╰──────┴───────────╯
# path to the required parsing awk script
_rwx_code_awk="$(cat "${RWX_ROOT_SYSTEM}/code.awk")"
# ╭──────┬───────╮
# │ code │ parts │
# ╰──────┴───────╯
# show the cached code
#= rc
rwx_code() {
@ -36,7 +44,7 @@ rwx_code_variables() {
}
# ╭──────┬───────╮
# │ code │ check
# │ code │ parse
# ╰──────┴───────╯
# check source code
@ -58,5 +66,5 @@ rwx_code_doc() {
awk \
--assign action="doc" \
--assign target="${name}" \
--file "${RWX_AWK}"
"${_rwx_code_awk}"
}