−grep
All checks were successful
/ job (push) Successful in 4m59s

This commit is contained in:
Marc Beninca 2025-07-05 15:57:24 +02:00
parent 25efbc44cf
commit 6ba73ec573
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -186,13 +186,11 @@ rwx_parse_code() {
}
rwx_parse_constants() {
printf "%s\n" "${RWX_CODE}" |
grep "${RWX_REGEX_TARGET_CONSTANT}" |
sed "s|${RWX_REGEX_TARGET_CONSTANT}|\\1|"
sed --silent "s|${RWX_REGEX_TARGET_CONSTANT}|\\1|p"
}
rwx_parse_functions() {
printf "%s\n" "${RWX_CODE}" |
grep "${RWX_REGEX_TARGET_FUNCTION}" |
sed "s|${RWX_REGEX_TARGET_FUNCTION}|\\1|"
sed --silent "s|${RWX_REGEX_TARGET_FUNCTION}|\\1|p"
}
# ╭──────┬─────╮