ForgePatch/fml/install/lfcr.py
2012-04-04 09:48:36 -04:00

8 lines
No EOL
175 B
Python
Executable file

#! /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()