diff --git a/cv b/cv index 206f0d9..54296d5 100755 --- a/cv +++ b/cv @@ -48,7 +48,8 @@ out(){ w=10 if [ -z $3 ] then - printf "%-${w}s %d \t+ %d\n" "$1:" "$(get $2)" "$(expr $(get $2) - $(yget $2))" + printf "%-${w}s %-${w}s" "$1:" "$(get $2)" "+ $(expr $(get $2) - $(yget $2))" + printf "\n" else printf "%-${w}s %d\n" "$1:" "$(yget $2)" fi @@ -63,8 +64,6 @@ result(){ out Tests tests if [ -f "$data/$ydate-$country" ] then - show "Yesterday's stats:" - out New todayCases yesterday if [ "$(get todayCases)" == "$(yget todayCases)" ] then show "Seems like the stats are the same as yesterday."