Change table width
This commit is contained in:
parent
7677160c37
commit
daa846f224
6
cv
6
cv
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Variable declarations go here.
|
# Variable declarations go here.
|
||||||
w=15
|
w=17
|
||||||
dfmt="+%Y-%m-%d"
|
dfmt="+%Y-%m-%d"
|
||||||
data="$HOME/Documents/cv"
|
data="$HOME/Documents/cv"
|
||||||
country=$1
|
country=$1
|
||||||
@ -18,7 +18,7 @@ fi
|
|||||||
|
|
||||||
# Functions go here.
|
# Functions go here.
|
||||||
title(){
|
title(){
|
||||||
local w=51
|
local w=57
|
||||||
printf "║ %-${w}s ║\n" "${*}"
|
printf "║ %-${w}s ║\n" "${*}"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ get(){
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
getpm(){
|
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(){
|
yget(){
|
||||||
date=$ydate
|
date=$ydate
|
||||||
|
Reference in New Issue
Block a user