From e655aecce1f088cd303d08f4909f0cca3606c4be Mon Sep 17 00:00:00 2001 From: DTB Date: Mon, 20 Feb 2023 10:46:03 -0500 Subject: [PATCH] 2023-02-19-01 --- homepage/blog | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/homepage/blog b/homepage/blog index ba48b98..21ec5b2 100755 --- a/homepage/blog +++ b/homepage/blog @@ -1,15 +1,18 @@ #!/bin/sh -set -ex;mkdir -p blah;cd blah;sed '1,/^exit 0$/d'<../"$0"|python -c "import sys +set -ex +mkdir -p blah +cd blah +sed '1,/^exit 0$/d'<../"$0" | python -c "import sys for day in sys.stdin.read().split('\n\n\n'): - if '' in day: prefix=day;continue - elif day.split('\n')[0][:4] == ' +0000suffix