0 Replies - 6889 Views - Last Post: 07 February 2011 - 01:39 PM

#1 jumptrooper   User is offline

  • D.I.C Head
  • member icon

Reputation: 68
  • View blog
  • Posts: 234
  • Joined: 19-August 10

Convert Linux txt files to Windows txt

Posted 07 February 2011 - 01:39 PM

Description: **Assuming you have Perl installed** In the command line, type the following code snippet:Converts end-of-line delimiters from Linux's "\n" to Windows' "\r\n"
perl -p -e 's/n/rn/' < name_of_linux_file.txt > new_name_of_win_formatted_file.txt

Is This A Good Question/Topic? 0
  • +

Page 1 of 1