Debian Codegraph @

test cases/common/216 custom target input extracted objects/libdir/gen.py

raw
1 #! /usr/bin/env python3
2 import sys
3 with open(sys.argv[1], 'r', encoding='utf-8') as f:
4 for l in f:
5 l = l.rstrip()
6 print(l.replace(sys.argv[2], sys.argv[3]))