diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index 57b7985..bc28d6d 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -119,7 +119,7 @@ case $1 in for hour in $day/* ; do thr=`sed 's/.*\///' <<< ${hour//_BASE/}` - if [ "`${hour: -5}`" = "_BASE" ]; then + if [ ${hour: -5} = "_BASE" ]; then echo -e "${CS[color,LightGreen]} -> `date -d"${tdt} ${thr//-/:}" +"%I:%M %P"` - BASE${CS[color,Default]}" else echo -e "${CS[color,Green]} -> `date -d"${tdt} ${thr//-/:}" +"%I:%M %P"`${CS[color,Default]}"