From: Steven Baltakatei Sandoval Date: Thu, 23 Oct 2025 04:30:44 +0000 (+0000) Subject: feat(user/mw_sc2sp.sh):Add End of Page tag to output X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/6636ba25f7d3dd3cd7f8b65259c46d1b26f9bfc6 feat(user/mw_sc2sp.sh):Add End of Page tag to output --- diff --git a/user/mw_wc2sp.sh b/user/mw_wc2sp.sh index 4ffdd88..cfb6444 100755 --- a/user/mw_wc2sp.sh +++ b/user/mw_wc2sp.sh @@ -4,7 +4,7 @@ # Input: arg1 path input wikicode file # Output: files wikicode file tree # Depends: Bash 5.1.16, GNU Coreutils 8.32 -# Version: 0.2.0 +# Version: 0.3.0 re_sp='^()$'; # subpage marker pattern d_out=./wikicode/; # default output dir @@ -234,6 +234,7 @@ print_wc_footer() { printf -- "\n==References==\n\n" printf -- "\n==Footnotes==\n\n"; printf -- "\n==Comments==\n\n"; + printf -- "\n\n"; printf -- "\n"; }; # print wikicode footer create_output_wikicode() {