From 7f44cb37eb92f5d92fabff1bf939c2f8124625b9 Mon Sep 17 00:00:00 2001 From: dtb Date: Sun, 6 Aug 2023 16:54:05 -0400 Subject: [PATCH] really embarrassing mistake --- homepage/homepage.local | 2 -- 1 file changed, 2 deletions(-) diff --git a/homepage/homepage.local b/homepage/homepage.local index 8de787e..dd54f37 100755 --- a/homepage/homepage.local +++ b/homepage/homepage.local @@ -4,7 +4,6 @@ set -x for f in ./blah/*.html do - cat "$f" awk ' BEGIN { n = 0; } /^\$!NAVIGATION$/ { @@ -18,7 +17,6 @@ BEGIN { n = 0; } && mv "$f.tmp" "$f" \ || rm "$f.tmp" f="$(printf '%s\n' "$f" | sed -e 's,./blah/,,' -e 's,\.html$,,')" - sed -i "./blah/$f.html" -e 's_\$!NAVIGATION_&\n'"$f"'\n_1' test -n "$last" \ && sed -i "./blah/$last.html" \ -e "s,\$!NAVIGATION,$nav\>,g" \