gaboshlib/gaboshlib/g_echo_note.bashfunc

11 lines
195 B
Plaintext
Raw Normal View History

#!/bin/bash
function g_echo_note {
[ -z "$1" ] && return 0
echo -en "\033[97m$(g_date_print) \033[36mNOTE:"
cat <<< "$@"
echo -en "\033[0m"
[ -z $g_alltosyslog ] && return 0
g_logger $@
}