🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #384

Re: TeX too small, what now? <Solution>

#384
From: Raymond Chen
Date: Thu, 23 Jul 1992 19:26
21 lines
1174 bytes
Actually, you got the end-of-line rules somewhat confused.

UNIX		LF
CP/M, MS-DOS	CR+LF
Macintosh	CR

So when you moved your file from the MAc to a UNIX machine, UNIX thought
it was one HUGE line because there were no LF's.

>btw, I looked at dos2unix available on wuarchive, but it seemed to only 
>_remove_ the \lf not replace it with \cr\lf.

DOS2UNIX removes the CR, because that is what needs to be done to convert
an MS-DOS file into a UNIX file.

>I am still looking for a better solution -- may hack the dos2unix.c source.
>It would be worth it for the number of these figures I need to do.

Here's an easy solution:

	tr  '\015' '\012' <infile >outfile
Technical Details
Message-ID: <1992Jul23.192650.12151@Princeton.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!princeton!onion.princeton.edu!rjc
References: <Brr3As.J8z@ux1.cso.uiuc.edu> <BruLIC.Ez0@ux1.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!princeton!onion.princeton.edu!rjc
From: rjc@onion.princeton.edu (Raymond Chen)
Newsgroups: comp.text.tex
Subject: Re: TeX too small, what now? <Solution>
Message-ID: <1992Jul23.192650.12151@Princeton.EDU>
Date: 23 Jul 92 19:26:50 GMT
References: <Brr3As.J8z@ux1.cso.uiuc.edu> <BruLIC.Ez0@ux1.cso.uiuc.edu>
Sender: news@Princeton.EDU (USENET News System)
Organization: Princeton University
Lines: 21
Nntp-Posting-Host: onion.princeton.edu