|Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
|Converting ^M characters to Unix new line
|Page 1 of 1|
|Author:||debuser [ Sun Jul 18, 2010 11:20 am ]|
|Post subject:||Converting ^M characters to Unix new line|
Needed this when working with html/xml files that contain ^M characters and in VI they show up quite ugly.
$ tr '\015' '\n' < file_in > file_out
Be sure to make backups first.
|Page 1 of 1||All times are UTC - 5 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group