ditch echo
for printf
& redirect error messages to standard output stream
This commit is contained in:
@ -26,7 +26,7 @@ export PATH
|
||||
|
||||
|
||||
emsg() {
|
||||
echo "$(tput bold)$(tput setaf 6)>>> $(tput setaf 4)$(date +%H:%M:%S)$(tput setaf 7) ${*} $(tput sgr0)"
|
||||
printf "%s\n" "$(tput bold)$(tput setaf 6)>>> $(tput setaf 4)$(date +%H:%M:%S)$(tput setaf 7) ${*} $(tput sgr0)"
|
||||
}
|
||||
|
||||
edie() {
|
||||
|
Reference in New Issue
Block a user