Calculate Emporia Energy usage in Bash
How to calculate data use for specfici month using bash for Emporia Energy device
cat FILE.csv | egrep "MonthInNumForm/?[0-9]?[0-9]/2019" | awk -F"," '{print;x+=$2}END{print "Total " x}'
<- OTHERS ->
How to calculate data use for specfici month using bash for Emporia Energy device
cat FILE.csv | egrep "MonthInNumForm/?[0-9]?[0-9]/2019" | awk -F"," '{print;x+=$2}END{print "Total " x}'