Logo Search packages:      
Sourcecode: magicor version File versions  Download package

replacer.py

import sys

data = []
d = sys.stdin.read()
while d:
    data.append(d)
    d = sys.stdin.read()

s = "".join(data)
s = s.replace(sys.argv[1], sys.argv[2])
sys.stdout.write(s)

Generated by  Doxygen 1.6.0   Back to index