Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Converting Msdos files to Linux

From: Michael Erdely <mike(at)erdelynet.com>
Date: Wed Apr 30 2003 - 17:33:12 EDT


I have an alias in my profile:
alias d2u='perl -pi -e '\''s/\r\n/\n/'\'

Then, I just run "d2u filename" and it strips the ^Ms.

-ME

-----Original Message-----

From: owner-misc@openbsd.org [mailto:owner-misc@openbsd.org] On Behalf Of Varley Owen SH
Sent: Wednesday, April 30, 2003 11:01 AM To: 'misc@openbsd.org'
Subject: Converting Msdos files to Linux

Hey all,  

Just wondering if there is an in built function in OpenBSD 3.2 that allows you to convert these files removing the ^M from the end of every line?  

Any ideas?

-Nekekami


Do you need help?X

Nekekami@shatteredequinox.com <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />  

This email and the information that it contains may be confidential, legally privileged and protected by law. Access by the intended recipient only is authorised. Any liability (in negligence or otherwise) arising from any third party acting, or refraining from acting, on any information contained in this email is hereby excluded. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Received on Wed Apr 30 17:35:30 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:34:25 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library