# 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
# 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