gaboshlib/gaboshlib/g_echo.bashfunc
2022-07-06 12:24:21 +02:00

10 lines
152 B
Bash

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