bowl 2
This commit is contained in:
parent
8318b85431
commit
7c46e4c46c
@ -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] == '<!--': 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
|
||||||
|
Loading…
Reference in New Issue
Block a user