[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dos2unix?



*- Nuno Carvalho wrote about "Re: dos2unix?"
| On Mon, 26 Oct 1998, Thomas Apel wrote:
| 
| > I always thought there was a package called "dos2unix" to convert dos
| > text files to unix text files. But I can't find it anywhere. Is there
| > such a package somewhere out there? And if yes, what's its name?
| 
|  Try do a script it something like:
| 
| cat <filename> | sed 's/^M//'
| 
|  This will remove ^M caracter from dos text files ...
| 
|  Best regards,
|    Nuno Carvalho
| 
| 

The dos2unix program(along with lots of others) is in the sysutils
package.

-- 
Brian 
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
							   - unknown  

Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: