aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-01-04 11:00:15 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-01-04 11:00:15 -0200
commitbb612932544e35ec9e63e1eaec9d58596cf7af69 (patch)
tree6e6dbcaffd9f3aa89f64d4060afc7612636cb362
parentcc760471fc7e1ad008c8e461a826e8e1093183ff (diff)
downloadutils-calendar-bb612932544e35ec9e63e1eaec9d58596cf7af69.tar.gz
utils-calendar-bb612932544e35ec9e63e1eaec9d58596cf7af69.tar.bz2
Support for year arg
-rwxr-xr-xcalendar-archive2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar-archive b/calendar-archive
index 0b7b3df..ce1f70a 100755
--- a/calendar-archive
+++ b/calendar-archive
@@ -7,7 +7,7 @@
CWD="`pwd`"
REMINDERS="$HOME/.remind"
YEAR_START="2009"
-YEAR_END="`date +%Y`"
+YEAR_END="${1:=`date +%Y`}"
REGEXP=""
# Setup