X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/3cc8b06349b39d6ac40a29bf4566ed5653165f29..c737bccf2824178671866e47416b1d405febdfe5:/user/mw_create_month_journal.sh diff --git a/user/mw_create_month_journal.sh b/user/mw_create_month_journal.sh index 9ed0206..b540fa9 100755 --- a/user/mw_create_month_journal.sh +++ b/user/mw_create_month_journal.sh @@ -4,7 +4,7 @@ # Input: arg1: year # arg2: month # Example: /bin/bash mw_create_month_journal.sh 2023 03 > output.txt -# Version: 0.0.1 +# Version: 0.1.0 yyyy="$1"; mm="$2"; @@ -60,6 +60,7 @@ else fi; # Form and print header +printf "{{bk journal header month}}\n"; printf "Journal for [[%d]]-%02d. " "$yyyy" "$mm"; printf "Preceded by [[%d-%02d]]. " "$yyyy_prev" "$mm_prev"; printf "Followed by [[%d-%02d]]. " "$yyyy_next" "$mm_next"; @@ -101,6 +102,8 @@ printf "\n"; printf "==Ext. Links==\n"; printf "\n"; +printf "{{bk journal footer month}}\n"; + s1="[[Category:Journals by month]]"; printf "%s\n" "$s1"; printf "\n";