Re: unix2dos, dos2unix

From: Larry Owens (owens@oak.cats.ohiou.edu)
Date: Thu Nov 04 1999 - 18:40:29 CET


At 06:06 PM 11/4/99 +0100, Hans-Juergen Geiss wrote:
>Hello Robert.
>
>This will work:
>dos2unix < source_file > destination_file

And, from the redhat list, as a converter for dos files into native unix
format.

        In the .[shell]rc file, add the following line:

        alias dos2unix="perl -p -i.bak -e 's/\015//g'"
        
        I didn't write this, but I use it.

        Larry

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:12 CET