projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore(unitproc/bkt-processArgs):Update with die()
[BK-2020-03.git]
/
user
/
mw_create_month_journal_range.sh
diff --git
a/user/mw_create_month_journal_range.sh
b/user/mw_create_month_journal_range.sh
old mode 100644
(file)
new mode 100755
(executable)
index
f2846b5
..
068987b
--- a/
user/mw_create_month_journal_range.sh
+++ b/
user/mw_create_month_journal_range.sh
@@
-1,13
+1,16
@@
#!/usr/bin/env bash
#!/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
# 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
# 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
dir_out="./wikicode/";
yell() { echo "$0: $*" >&2; } # print script path and all args to stderr