commit c3ff4d698d918868da821e9a5982c3ffc4aff4e5 parent 4de42f743b24e147c72db43128fa02088191353a Author: xfnw <xfnw@ttm.sh> Date: Fri, 14 Aug 2020 18:51:56 -0400 link index to last comic Diffstat:
M | xfwc | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/xfwc b/xfwc @@ -4,6 +4,10 @@ BOOPTMP=$(mktemp) TOTAL=$(ls src | wc -w) +rm index.html + +ln -s $TOTAL.html index.html + for fn in $(ls src); do NUM=$(echo "${fn%???}" | sed 's/[^0-9]*//g') NEWF=$NUM.html