From 914f673cf60dd7480200ca8dece8a35b3fa7d88e Mon Sep 17 00:00:00 2001 From: DTB Date: Wed, 8 Feb 2023 22:44:07 -0500 Subject: [PATCH] bowl 3 --- homepage/blog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homepage/blog b/homepage/blog index 1b2d06d..6b401f8 100755 --- a/homepage/blog +++ b/homepage/blog @@ -56,10 +56,10 @@ with open('../$0', 'r') as f: with open(day.split('\n')[0]+'.html', 'x') as g: g.write(prefix+day+'\n'+suffix) ";cd blah;for f in *.html;do #in glob we trust -test -z "$last" || sed -i "s,__NAVIGATION__,$nav\>

," \ +test -z "$last" || sed -i "s,_NAVIGATION_,$nav\>

," \ "$last";nav="

";test -z "$last"||nav="$nav\<" nav="$nav^";last="$f";done -sed -i "s,__NAVIGATION__,$nav

," "$last";for f in *.html;do #e unibus puellam +sed -i "s,_NAVIGATION_,$nav

," "$last";for f in *.html;do #e unibus puellam fi="$(echo "$f" | cut -d . -f 1)";test "$fi" = "index" && continue printf '%s\n' "$fi" "$fi"; done|sort -r|\ sed -e "1iblah
\