Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import sys
def read_content(path):
f = open(path, "r")
res =
return res
def contains_crlf(text):
return "\r\n" in text
for path in sys.argv[1:]:
if contains_crlf(read_content(path)):
print path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.