Merge branch 'dev'
This commit is contained in:
commit
cfce39c4e3
9
cv
9
cv
@ -59,7 +59,7 @@ frame(){
|
|||||||
bot) printf "╚ %-${w}s ═ %-${w}s ═ %-${w}s ╝\n" | sed "s/\ /═/g" ;;
|
bot) printf "╚ %-${w}s ═ %-${w}s ═ %-${w}s ╝\n" | sed "s/\ /═/g" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
result(){
|
parse(){
|
||||||
frame top
|
frame top
|
||||||
title "Queried at $date for $(get country)."
|
title "Queried at $date for $(get country)."
|
||||||
frame up
|
frame up
|
||||||
@ -98,6 +98,13 @@ result(){
|
|||||||
frame down
|
frame down
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
result(){
|
||||||
|
if [ ! -f "$data/$date-$country-out" ]
|
||||||
|
then
|
||||||
|
parse > "$data/$date-$country-out"
|
||||||
|
fi
|
||||||
|
cat "$data/$date-$country-out"
|
||||||
|
}
|
||||||
|
|
||||||
# Main code starts here.
|
# Main code starts here.
|
||||||
if [ ! -z "$country" ]
|
if [ ! -z "$country" ]
|
||||||
|
Reference in New Issue
Block a user