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