_UPPERME=$(echo $(basename $0) | tr '[:lower:]' '[:upper:]')
function timestamp {
- echo $(date +"[%y-%m-%d %H:%M:%S]")
+ date +'[%y-%m-%d|%H:%M:%S]'
}
function scottyline {
}
function scottyinfo {
- if ($_ERROR_ENCOUNTERED -eq 0); then
+ if [ $_ERROR_ENCOUNTERED -eq 0 ]; then
scottyline $@
else
scottyline $@ >&2