From 591eb283882e336f1cfe75fa85bbb718ba4d4f9d Mon Sep 17 00:00:00 2001 From: DTB Date: Mon, 20 Feb 2023 01:19:37 -0500 Subject: [PATCH] 2023-02-20-00 --- homepage/blog | 83 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 63 insertions(+), 20 deletions(-) diff --git a/homepage/blog b/homepage/blog index 938a1c5..ba48b98 100755 --- a/homepage/blog +++ b/homepage/blog @@ -1,30 +1,21 @@ #!/bin/sh -set -ex;mkdir -p blah;cd blah;python -c "with open('../$0', 'r') as f: - for day in f.read().split('\n\n\n'): - if day.split('\n')[0] == '#!/bin/sh': - prefix='\n'.join(day.split('\n')[day.split('\n').index( - 'exit 0')+1:])+'\n';continue - elif day.split('\n')[0][:4] == '