#!/bin/zsh pushd -q CURRENT_STATS=$(grep $(date +%Y/%-m/) ../*/.umtsmon/umtsmonrc) ((this_months_total=$(.umtsmon/daily-record/report.zsh 2>/dev/null | grep '^Total' | cut -d: -f2))) if [[ $1 == -ja-ich-will ]] { shift <>| .umtsmon/daily-record/$(date +%F) } popd -q