☰
Debian Codegraph
@
1.3.9-2
/
/
scripts
/
vcffirstheader
☽
☼
scripts/vcffirstheader
code
plain
raw
MIT
2010-2014 Erik Garrison, Gabor Marth
debian/copyright
1
#!/usr/bin/env python3
2
3
import sys
4
5
header=True
6
for line in sys.stdin:
7
if line.startswith('##'):
8
if header:
9
print(line.strip())
10
continue
11
elif line.startswith('#'):
12
if header:
13
print(line.strip())
14
header=False
15
continue
16
print(line.strip())