Article View: gnu.gcc.help
Article #42647Re: Sources from OS/2 gcc to Unix gcc
From: Jan Kampherbeek
Date: Sun, 19 Nov 1995 00:00
Date: Sun, 19 Nov 1995 00:00
20 lines
1220 bytes
1220 bytes
At 03:20 AM 11/19/95 -0700, Dan Egli wrote: > > t> Recently, I tried to port some gcc-sources from OS/2 to Unix. The > t> problem was, that after each line I saw a '^M' and at the fileends > t> a '^Z'. Though I have a small prog which removes them, it would be > t> more comfortable not to have those chars in there at all. Does anybody > t> know how to do this ? > >run a program called dos2unix. It will convert DOS/OS2 EndOfLine >and EndOfFile >marks to their unix equivalants. > If the source is on an OS/2 or DOS partition you can do this conversion automagically. Mounting the partition that contains the OS/2 source, use -o to specify file-conversion. I used -o conv=auto, an alternative might be -o conv=text Jan Kampherbeek, Enschede, The Netherlands email : j.kampherbeek@a1.nl
Technical Details
Message-ID:
<9511192140.AA07172@a3>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,b4467c4610ed1845,start X-Google-Attributes: gid11318c,public From: j.kampherbeek@a1.NL (Jan Kampherbeek) Subject: Re: Sources from OS/2 gcc to Unix gcc Date: 1995/11/19 Message-ID: <9511192140.AA07172@a3> X-Deja-AN: 119671912 distribution: gnu sender: daemon@cis.ohio-state.edu organization: GNUs Not Usenet newsgroups: gnu.gcc.help