diff --git a/explorer.sh b/explorer.sh index 0c3a202..5d455f2 100755 --- a/explorer.sh +++ b/explorer.sh @@ -57,7 +57,7 @@ day() { mass() { lineNbr=$(($lineNbr+7)) jsonDated="$(head -n$lineNbr $jsonFile)}]" - jq -f lib/sumNbrMembers.jq <<<"$jsonDated" | jq '.UD*.nbrMembers' | awk '{ SUM += $1} END { printf "%.2f", SUM }'; echo + jq -f $GPATH/lib/sumNbrMembers.jq <<<"$jsonDated" | jq '.UD*.nbrMembers' | awk '{ SUM += $1} END { printf "%.2f", SUM }'; echo } [[ -z $cmd ]] && cmd=cumulate