#!/bin/sh
#llllmmmm11234567892123456789312345678941234567895123456789612345678971234567890
set -ex
mkdir -p blah
cd blah
sed '1,/^exit 0$/d'<../"$0" | python3 -c "import sys
for day in sys.stdin.read().split('\n\n\n'):
with open(day.split('\n')[0],'w') as f: f.write(day)"
sed -i 1d *efix; sed -i 1d *ffix; for f in ????-??-??; do #nt worry :)
sed '1i'<$f|sed -e '1r 0000prefix' -e '$r 0000suffix'>$f.html
rm $f; f=$f.html; test -n "$last" && sed -i \
"s,__NAVIGATION__,$nav\>
," "$last" \
&& nav="\<"; nav="$nav^"
last="$f"; done; sed -i "s,__NAVIGATION__,$nav
," "$last"; rm 0*
ls *.html|sed 's/\..*//g'|tee feed.xml|sed 's_.*_&_'\
|sort -r|>index.html sed -e "1i\
.." -e '$a' sed -i \ -e "s,^..........\$,
THE WRITER MUST EAT -> patreon.com/trn1ty <- blah! ideas with no tangibility; ideas with irrelevant supports; ideas without value; ideas' witlessness; ideas' witnesses; ideas- __NAVIGATION__ 0000suffix __NAVIGATION__ No rights reserved, all rights exercised, rights turned to lefts, left in this corner of the web.