I am looking for a way in Perl to do it without calling external commands.
This will part of a larger program.
the tr/\015// works great for dos2unix, but I can't get the unix2dos to work
correclty.
> -----Original Message-----
> From: Gibbs Tanton - tgibbs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 26, 2001 4:03 PM
> To: 'Kipp, James '; '[EMAIL PROTECTED] '
> Subject: RE: Converting *nix file to dos
>
>
> Many unix systems have both a dos2unix and unix2dos
> command...you might try
> that.
>
> -----Original Message-----
> From: Kipp, James
> To: [EMAIL PROTECTED]
> Sent: 9/26/2001 2:54 PM
> Subject: Converting *nix file to dos
>
> 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.
>
> Thanks
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]