„gaboshlib/g_echo_warn.bashfunc“ ändern
This commit is contained in:
parent
7630c23d4a
commit
afd0fff87b
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function g_echo_warn {
|
function g_echo_warn {
|
||||||
[ -z "$@" ] && return 0
|
[ -z "$1" ] && return 0
|
||||||
echo -en "\033[97m$(g_date_print) \033[33mWARNING: " 1>&2
|
echo -en "\033[97m$(g_date_print) \033[33mWARNING: " 1>&2
|
||||||
cat <<< "$@" 1>&2
|
cat <<< "$@" 1>&2
|
||||||
echo -en "\033[0m" 1>&2
|
echo -en "\033[0m" 1>&2
|
||||||
|
Loading…
Reference in New Issue
Block a user