TIP: Click on subject to list as thread! ANSI
echo: semware
to: All
from: `Sammy Mitchell`
date: 2003-02-27 09:19:52
subject: [TSEPro] Re: Line terminators

From: "Sammy Mitchell" 
@Date: Wed, 26 Feb 2003 17:49:53 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au



> >But what do I return if the file is a mixture, e.g., some
> >lines end in CR, some in LF, and some in both?

Jim Wilson wrote:
>Have you ever actually seen such a file?

Yes, quite a few over the years, actually.

Remember that we've been around since 1985, and at one time
at least, had quite a few customers.

You see a lot of weird things being around that long and
having a large user base.  Back when Tim, Steven, Richard,
Kevin, Matthew, and George were SemWare-ites, we used to
have a weird occurrence daily.  But some of them could have
been staged, one never knows...

>I don't think I've
>even heard of that. If it's DOS text then CR/LF, unix is LF
>and MAC is CR. What type of file mixes line terminators?

The last time I ran into one was in 2001.  I made a note
about it in the part of the source that is responsible for
loading files.  That source was originally written in
Assembly language (back in 1985), and was translated to C in
1995. I've tweaked it a few times since then, 2001 being one
of them.  It was the output of somebodies make redirected to
a file. I say somebodies because I have several that I
routinely use, depending on what I'm working on.  My notes
just said "make", so I can't be sure which one.

--
Sammy Mitchell

--
TSEPro Mailing List
List Maintenance: www.semware.com/html/list.htm



---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonet
SEEN-BY: 633/267 270
@PATH: 800/846 1 640/954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.