Andrew Akins wrote:
> 
> I have copied some MSDOS text files (documents, java source files) to my
> Linux box. So, of course, they all have ^M at the end of each line. At
> our SCO box at work, we have a dos2unix command that would fix
> these...does Linux have a similar tool, and what package is it in?

You can pipe the file through "tr -d '\r'". Ignore the other message
about mcopy. This is restrictive since it *assumes* that the file
is on a floppy disk (or other FAT volume).

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to