This commit is contained in:
Marc Beninca 2024-09-07 07:45:39 +02:00
parent 2da608c462
commit 363fa82bd8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -195,9 +195,9 @@ _spcd_txt_pick() {
esac esac
} }
# ╭─────────── # ╭───────────
# │ functions # │ p = public
# ╰─────────── # ╰───────────
spcd_ca() { spcd_ca() {
local grep="\(After\|Before\|Issuer\|Signature Algorithm\|Subject:\)" local grep="\(After\|Before\|Issuer\|Signature Algorithm\|Subject:\)"
@ -255,9 +255,9 @@ spcd_eval() {
fi fi
} }
# ╭───────────┬───────╮ # ╭───┬───────╮
# │ functions │ error │ # │ p │ error │
# ╰───────────┴───────╯ # ╰───┴───────╯
spcd_error_ci() { spcd_error_ci() {
echo "× CI: ${*}" echo "× CI: ${*}"
@ -270,9 +270,9 @@ spcd_error_os() {
exit "${_SPCD_ERROR_OS}" exit "${_SPCD_ERROR_OS}"
} }
# ╭───────────┬────╮ # ╭───┬────╮
# │ functions │ os │ # │ p │ os │
# ╰───────────┴────╯ # ╰───┴────╯
spcd_os_grep() { spcd_os_grep() {
local variable="${1}" local variable="${1}"
@ -337,17 +337,17 @@ spcd_os_write() {
fi fi
} }
# ╭───────────┬───────╮ # ╭───┬───────╮
# │ functions │ split │ # │ p │ split │
# ╰───────────┴───────╯ # ╰───┴───────╯
spcd_split() { spcd_split() {
echo "${_SPCD_RULE_LEFT}${_SPCD_RULE_MIDDLE}${_SPCD_RULE_RIGHT}" echo "${_SPCD_RULE_LEFT}${_SPCD_RULE_MIDDLE}${_SPCD_RULE_RIGHT}"
} }
# ╭───────────┬──────╮ # ╭───┬──────╮
# │ functions │ step │ # │ p │ step │
# ╰───────────┴──────╯ # ╰───┴──────╯
spcd_step() { spcd_step() {
if [ -n "${1}" ]; then if [ -n "${1}" ]; then
@ -371,9 +371,9 @@ spcd_step_out() {
__SPCD_STEP_LEVEL=$((__SPCD_STEP_LEVEL - 1)) __SPCD_STEP_LEVEL=$((__SPCD_STEP_LEVEL - 1))
} }
# ╭───────────┬─────╮ # ╭───┬─────╮
# │ functions │ txt │ # │ p │ txt │
# ╰───────────┴─────╯ # ╰───┴─────╯
SPCD_TXT_LOCALE_ENGLISH="en_US" SPCD_TXT_LOCALE_ENGLISH="en_US"
SPCD_TXT_LOCALE_FRENCH="fr_FR" SPCD_TXT_LOCALE_FRENCH="fr_FR"