X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/61078d978341cfc73018bced63353ab8a150066a..f8a8977d53e41f3c26568b2280f054c61e6eb041:/user/mw_create_month_journal_range.sh?ds=sidebyside diff --git a/user/mw_create_month_journal_range.sh b/user/mw_create_month_journal_range.sh old mode 100644 new mode 100755 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 +# 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