Tag:
carriage return

Convert text files within a directory from Windows to Unix format

by
on
January 7, 2009

When a file is saved in Windows and then moved to a Linux system the formatting differences can cause a variety of problems. To effectively use these files you will need to change the format from Windows/DOS to Unix. This conversion occurs by simply removing the Windows carriage return characters. I have explained how to [...]

Read More
1 Comment
bash

Remove Windows carriage returns with tr

by
on
November 30, 2008

The end of a line in a UNIX text file is designated with the newline character. In Windows, a line ends with both newline and carriage return ASCII characters. If a file is saved in Windows and then moved to a Linux system these carriage returns can cause all sorts of problems. If the text [...]

Read More
1 Comment
system administration
Copyright 2008-2010 WiredRevolution.com. All rights reserved.