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}'
by Nick | Dec 30, 2019 | Tech | 0 comments
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}'