Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Sat Feb 04, 2012 10:37 pm


Tutorials applicable on more than one Unix/Linux OS and shell scripts: ssh / openssl / protocols.

Bookmark this article:

Author Message
debuser
  Post  Post subject: Converting ^M characters to Unix new line  |  Posted: Sun Jul 18, 2010 6:20 pm

Joined: Thu Aug 06, 2009 9:48 am
Posts: 90

Offline
Save on Delicious
Needed this when working with html/xml files that contain ^M characters and in VI they show up quite ugly.

Code:
$ tr '\015' '\n' < file_in > file_out


Be sure to make backups first.


Top
Display posts from previous:  Sort by  
Print view

Topics related to - "Converting ^M characters to Unix new line"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Vi/Vim - Show line numbers in vi or vim

LaR3

0

656

Thu Oct 01, 2009 12:45 pm

LaR3 View the latest post

There are no new unread posts for this topic. Openssl s_client command line: connect and diagnose an https server

LaR3

0

5932

Wed Aug 26, 2009 10:18 am

LaR3 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC + 2 hours [ DST ]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DAJ Glass 2 template created by Dustin Baccetti

phpBB SEO