V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -14,6 +14,10 @@ guard_sourcing
|
||||
|
||||
#######################################
|
||||
# Print-colored text.
|
||||
# Globals:
|
||||
# NL
|
||||
# RES
|
||||
# WHI
|
||||
# Arguments:
|
||||
# 1: Color code.
|
||||
# *: Text to print.
|
||||
@@ -22,6 +26,6 @@ color_echo() {
|
||||
declare c="$1"
|
||||
shift
|
||||
declare msg="${*}"
|
||||
printf "%s[INFO]%s %s%s.%s%s" "${c}" "${RES}" "${WHI}" "${msg}" "${RES}" "${NL}"
|
||||
printf "%b[INFO]%b %b%s.%b%b" "${c}" "${RES}" "${WHI}" "${msg}" "${RES}" "${NL}"
|
||||
}
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
|
||||
Reference in New Issue
Block a user