Convert Unix lines breaks to Macintosh line breaks

Contributor Icon Contributed by skreuzer Date Icon October 18, 2003  
Tag Icon Tagged: Linux

This one liner will convert Unix line breaks to Macintosh lines breaks in a text file


tr '\012' '\015' < unix-format-file > mac-friendly-file

Previous recipe | Next recipe |
 

 
close Reblog this comment
blog comments powered by Disqus