Hello James,
Here's a perl way that seems to work:
perl -ne 's#\012#\015\012#g; print' filename
Regards,
- Robert
------
At 03:02 PM 9/26/2001 -0500, Gibbs Tanton - tgibbs wrote:
>Many unix systems have both a dos2unix and unix2dos command...you might try
>that.
>
>-----Original Message-----
>From: Kipp, James
>
>Hi
>
>When I bring win32 files over to Unix I use 'tr/\015//' on the file to
>get rid of the hard return (^M). anyone know how to convert it back the
>other way? I tried some sed commands but none seems to work.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]