Source

bx-python / scripts / prefix_lines.py

Full commit
1
2
3
4
5
6
7
8
9
#!/usr/bin/env python

"""
Simple script to add a prefix to every line in a file.
"""

import sys

for line in sys.stdin: print sys.argv[1] + line,