V8.00.000.2025.06.17

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-08 20:53:47 +02:00
parent e63e343bc7
commit 6d255e9c07
21 changed files with 158 additions and 68 deletions

View File

@@ -15,7 +15,7 @@ guard_sourcing
#######################################
# Remove any leading or trailing whitespace.
# Arguments:
# $1: String to clean.
# 1: String to clean.
#######################################
remove_whitespace() {
# shellcheck disable=SC2155
@@ -26,7 +26,7 @@ remove_whitespace() {
#######################################
# Function to escape all shell metacharacters
# Arguments:
# $1: String to Sanitize
# 1: String to Sanitize
#######################################
sanitize_input() {
declare input="$1"
@@ -37,7 +37,7 @@ sanitize_input() {
#######################################
# Function to remove any character not in the allowed set
# Arguments:
# $1: String to Sanitize
# 1: String to Sanitize
#######################################
sanitize_string() {
declare input="$1"