Make out function unconditional

This commit is contained in:
Michael De Roover 2020-07-03 22:29:41 +02:00
parent c12e1f5f46
commit 8eb45de625
Signed by: vim
GPG Key ID: 075496E232CE04CB

7
cv
View File

@ -40,12 +40,7 @@ yget(){
}
out(){
w=10
if [ -z $3 ]
then
printf "║ %-${w}s ║ %-${w}s ║ %-${w}s ║\n" "$1:" "$(get $2)" "+ $(expr $(get $2) - $(yget $2))"
else
printf "%-${w}s %d\n" "$1:" "$(yget $2)"
fi
printf "║ %-${w}s ║ %-${w}s ║ %-${w}s ║\n" "$1:" "$(get $2)" "+ $(expr $(get $2) - $(yget $2))"
}
frame(){
case "$1" in