Dave Reed wrote:

> > Do you know where I could find the source code of dos2unix and unix2dos? Just
> > to know how they work and what they can and cannot do. Thank you.
>
> They're probably Perl or some other script language so you can just
> use can look at them.
>

No, they are ELF compiled (probably) from C. I wanted to know the source code for
the following reason: these programs work well when the original file fulfills
these requirements, but, for example, if you download a text file from a unix
server with a DOS client, and separation between lines in the original file are
\c\n these may become \c\c\n

> Dave
> [EMAIL PROTECTED]





-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to