diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/sb | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,10 +12,13 @@ function count_for_date { | cut -d',' -f2) lines=$(($lines+$hourly_presses)) -# lines=$(($lines+$hourly)); done echo $lines } +if [ -n "$1" ]; then + TODAY=$1 +fi + echo $(count_for_date $TODAY) |
