aboutsummaryrefslogtreecommitdiff
path: root/src/sb
diff options
context:
space:
mode:
Diffstat (limited to 'src/sb')
-rwxr-xr-xsrc/sb5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sb b/src/sb
index a3bc968..640cad6 100755
--- a/src/sb
+++ b/src/sb
@@ -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)