feat(user/mp3s_to_mkv.sh):Add variant of 'mp3s_to_opus.sh'
[BK-2020-03.git] / user / mw_create_month_journal_range.sh
index f2846b59b1f50cb74383b9e3561a1449809e2a56..068987b575db64cab50304dd6821a023233af990 100644 (file)
@@ -1,13 +1,16 @@
 #!/usr/bin/env bash
+# Desc: Wrapper for creating monthly journal page generation script
+# Input: arg1: path mw_create_month_journal.sh
+#        arg2: year start
+#        arg3: year end
+# Example: mw_create_month_journal_range.sh ./mw_create_month_journal.sh 2030 2040
 # Depends: BK-2020-03: mw_create_month_journal.sh
-# Version: 0.0.1
-
-# update each run
-path_cmj="$HOME/git-OC/BK-2020-03..bkexdev/user/mw_create_month_journal.sh";
-year_start="1582";
-year_end="2100";
+# Version: 1.0.0
 
 # plumbing
+path_cmj="$1"; # eg "$HOME/scripts/mw_create_month_journal.sh"
+year_start="$2"; # eg 2030
+year_end="$3"; # eg 2040
 dir_out="./wikicode/";
 
 yell() { echo "$0: $*" >&2; } # print script path and all args to stderr