1#!/usr/bin/env python 2# Copyright (c) 2011 Google Inc. All rights reserved. 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6 7import sys 8 9data = open(sys.argv[3], 'r').read() 10fh = open(sys.argv[4], 'w') 11fh.write(data.replace(sys.argv[1], sys.argv[2])) 12fh.close() 13