ForgePatch/fml/install/lfcr.py

8 lines
175 B
Python
Raw Normal View History

2012-04-04 13:48:36 +00:00
#! /usr/bin/env python
import sys, re, os
data = open(sys.argv[1], "rb").read()
newdata = re.sub("\r?\n", "\r\n", data)
f = open(sys.argv[2], "wb")
f.write(newdata)
f.close()