Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!hookup!news.mathworks.com!fu-berlin.de!news.dfn.de!news.uni-jena.de!news.HRZ.HAB-Weimar.DE!News.HTWM.De!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.programmer,gnu.gcc.help Subject: Re: [Help needed] default ends of lines into CR+LF Date: 17 Jan 1996 01:48:05 GMT Organization: Private BSD site, Dresden Lines: 22 Message-ID: <4dhkgl$r9@uriah.heep.sax.de> References: <30fa4b28.12633299@aqua21.cfi.waseda.ac.jp> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:12268 comp.unix.programmer:32778 gnu.gcc.help:14511 a9011443@cfi.waseda.ac.jp (Satoshi KUSUNOKI) writes: > I want to let the default code of ends of lines in CR+LF on FreeBSD as > to a particular program. (PGP 2.6.2i on BSD alters the code into LF > even if input files have CR+LFs. But I want to stop it.) Do I have only > to modify some gcc's settings (if so how) or have to track over source > codes in question? This is not a question of the compiler. All unices use just a plain '\n' as their line delimiter. MSDOS C libraries tend to convert this into CRLF (or visa verse) for `text' files, but in unix, no conversion is needed. So you need to change your PGP, or filter the entire file through another program. For PGP, take care that you don't modify something that's covered by a checksum! -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)