Make out function unconditional
This commit is contained in:
parent
c12e1f5f46
commit
8eb45de625
7
cv
7
cv
@ -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
|
||||
|
Reference in New Issue
Block a user