]> zdv2.bktei.com Git - BK-2020-03.git/blobdiff - user/mw_wc2sp.sh
feat(unitproc/bkt-yellDieMust):Add dief() for bash functions
[BK-2020-03.git] / user / mw_wc2sp.sh
index 467df7a70c54f82e9fa0f927fda3b4734f0086e1..f0981a2bf5024ba2673aec44f34b7e1c1c888a98 100755 (executable)
@@ -4,7 +4,7 @@
 # Input:  arg1  path  input wikicode file
 # Output: files       wikicode file tree
 # Depends: Bash 5.1.16, GNU Coreutils 8.32
 # Input:  arg1  path  input wikicode file
 # Output: files       wikicode file tree
 # Depends: Bash 5.1.16, GNU Coreutils 8.32
-# Version: 0.4.0
+# Version: 0.5.0
 
 re_sp='^(<!-- @subpage:)(.*)([ ]*-->)$'; # subpage marker pattern
 d_out=./wikicode/; # default output dir
 
 re_sp='^(<!-- @subpage:)(.*)([ ]*-->)$'; # subpage marker pattern
 d_out=./wikicode/; # default output dir
@@ -291,7 +291,7 @@ create_output_wikicode() {
 
     # Initialize subpage list wikicode file
     must touch "$p_splwc";
 
     # Initialize subpage list wikicode file
     must touch "$p_splwc";
-    printf "==Stats==\n\n==Subpages==\n" >> "$p_splwc";
+    printf "==Stats==\n* Author:\n* Publication date:\n* [[/Combined]]\n\n==Subpages==\n" >> "$p_splwc";
     
     # Read content files according to subpage list file    
     #   Note: $i corresponds to “next” line ($lnext). Therefore, use
     
     # Read content files according to subpage list file    
     #   Note: $i corresponds to “next” line ($lnext). Therefore, use