parameters: (inFile, outFile = None)
docstring: convert \r to \n (windows file to linux file)
docstring_summary: convert \r to \n (windows file to linux file)
docstring_tokens: convert \ r to \ n ( windows file to linux file )
function: def return2newLine(inFile, outFile = None) :
      """convert \r to \n (windows file to linux file)"""
  
      rename = False
      if outFile is None :
          rename = True
          outFile = tempfile.mktemp()
      os.system("tr -d '\r' < " + inFile + " > " + outFile)
      if rename :
          os.rename(outFile, inFile)
function_tokens: def return2newLine ( inFile , outFile = None ) : rename = False if outFile is None : rename = True outFile = tempfile . mktemp ( ) os . system ( "tr -d '\r' < " + inFile + " > " + outFile ) if rename : os . rename ( outFile , inFile )