„gaboshlib/g_echo_debug.bashfunc“ ändern

This commit is contained in:
olli 2023-01-17 09:54:39 +01:00
parent ce63ae4a03
commit b812314e91

View File

@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
function g_echo_debug { function g_echo_debug {
[ -z "$1" ] && return 0
echo -en "\033[97m$(g_date_print) \033[35mDEBUG:" echo -en "\033[97m$(g_date_print) \033[35mDEBUG:"
cat <<< "$@ cat <<< "$@
$(set -o posix; set | grep '^[a-z].*=')" $(set -o posix; set | grep '^[a-z].*=')"