1
0
This commit is contained in:
dtb 2023-02-08 22:40:25 -05:00
parent 8318b85431
commit 7c46e4c46c

View File

@ -52,7 +52,7 @@ with open('../$0', 'r') as f:
if day.split('\n')[0] == '#!/bin/sh': if day.split('\n')[0] == '#!/bin/sh':
prefix='\n'.join(day.split('\n')[day.split('\n').index( prefix='\n'.join(day.split('\n')[day.split('\n').index(
'exit 0')+1:])+'\n';continue 'exit 0')+1:])+'\n';continue
elif day.split('\n')[0][:4] == '<!--': suffix=day;continue elif day.split('\n')[0][:4] == '&lt;!--': suffix=day;continue
with open(day.split('\n')[0]+'.html', 'x') as g: with open(day.split('\n')[0]+'.html', 'x') as g:
g.write(prefix+day+'\n'+suffix) g.write(prefix+day+'\n'+suffix)
";cd blah;for f in *.html;do #in glob we trust ";cd blah;for f in *.html;do #in glob we trust