Change table width
parent
7677160c37
commit
daa846f224
6
cv
6
cv
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Variable declarations go here.
|
||||
w=15
|
||||
w=17
|
||||
dfmt="+%Y-%m-%d"
|
||||
data="$HOME/Documents/cv"
|
||||
country=$1
|
||||
|
@ -18,7 +18,7 @@ fi
|
|||
|
||||
# Functions go here.
|
||||
title(){
|
||||
local w=51
|
||||
local w=57
|
||||
printf "║ %-${w}s ║\n" "${*}"
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ get(){
|
|||
fi
|
||||
}
|
||||
getpm(){
|
||||
out "╰> Per 1M " "$(get $1) ($(echo "$(bc <<< "scale = 2; $(get $1) / 10000")%"))" ""
|
||||
out "╰> Per 1M " "$(get $1) ($(echo "$(bc <<< "scale = 2; $(get $1) / 10000")%"))" ""
|
||||
}
|
||||
yget(){
|
||||
date=$ydate
|
||||
|
|
Reference in New Issue