Convert newline between UNIX & DOS

February 10th, 2007 toydi

There are several ways to convert newlines between UNIX-style (LF) and DOS-style (CR+LF). I like todos, fromdos commands (or unix2dos, dos2unix) for their simplicity. Sometimes they are not installed by default, try to search your repository for a tofrodos package . Let’s try. Simply create a text file, foo.txt that contains a newline: aaa bbb […]

Posted in fromdos, hexdump, Text Manipulation, todos | Hits: 47696 | 1 Comment »