I hereby claim:
- I am macsmax on github.
- I am macsmax (https://keybase.io/macsmax) on keybase.
- I have a public key ASCyB9V8WGvW5y3NUiRqwRkmdXeL5grwuho36uBNhN7wPQo
To claim this, I am signing this object:
# Function to print a progress barr, pass three arguments: total counter, current counter, start epoch | |
function progressbar { | |
TOT_COUNT=${1} | |
COUNTER=${2} | |
STARTEPOCH=${3} | |
CUREPOCH=`date +%s` | |
# get the percentage | |
let CUR_PERC=$COUNTER*100/$TOT_COUNT | |
# get the elapsed seconds | |
let DELTA_SECONDS=$CUREPOCH-$STARTEPOCH |
#!/bin/bash | |
# Function to print a progress barr, pass three arguments: total counter, current counter, start epoch | |
function progressbar { | |
TOT_COUNT=${1} | |
COUNTER=${2} | |
STARTEPOCH=${3} | |
CUREPOCH=`date +%s` | |
# get the percentage | |
let CUR_PERC=$COUNTER*100/$TOT_COUNT |
I hereby claim:
To claim this, I am signing this object: