blob: 40bf830c8d5434f3e3819da54f1ab0fdeab3ff1b (
plain)
1
2
3
4
5
6
7
|
import sys
line = ('/*' + sys.argv[1] + '*/\n').encode()
lines = open(sys.argv[2], 'rb').readlines()
outfile = open(sys.argv[2], 'wb')
for l in [l for l in lines if l != line]:
outfile.write(l)
sys.exit(0)
|