public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
* Game Module Line Delimiters
@ 2003-12-13  8:07 Eric McDonald
  2003-12-13 10:47 ` Lincoln Peters
  0 siblings, 1 reply; 3+ messages in thread
From: Eric McDonald @ 2003-12-13  8:07 UTC (permalink / raw)
  To: xconq7


Hi,

We should perhaps standardize on a style of line delimiter for 
game modules and IMF files. Three of them have Mac (CR) 
delimiters, and the rest are Unix (LF) delimiters:

colonizer.g:      ASCII English text, with CR line terminators
pg.imf:           ASCII text, with CR line terminators
space-civ.g:      ASCII English text, with very long lines, with 
CR line terminators

I would suggest the LF delimiters since that is what the bulk of 
the files already have, and it also makes grepping easier (a 
"line" containing a matching pattern won't end up being the 
entire file).

Eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Game Module Line Delimiters
  2003-12-13  8:07 Game Module Line Delimiters Eric McDonald
@ 2003-12-13 10:47 ` Lincoln Peters
  2003-12-13 11:08   ` Hans Ronne
  0 siblings, 1 reply; 3+ messages in thread
From: Lincoln Peters @ 2003-12-13 10:47 UTC (permalink / raw)
  To: Eric McDonald; +Cc: Xconq list

On Fri, 2003-12-12 at 21:11, Eric McDonald wrote:
> Hi,
> 
> We should perhaps standardize on a style of line delimiter for 
> game modules and IMF files. Three of them have Mac (CR) 
> delimiters, and the rest are Unix (LF) delimiters:
> 
> colonizer.g:      ASCII English text, with CR line terminators
> pg.imf:           ASCII text, with CR line terminators
> space-civ.g:      ASCII English text, with very long lines, with 
> CR line terminators

I find it odd that colonizer.g and space-civ.g would have Mac (CR)
delimeters, since I wrote both of them on the same Linux box.

> 
> I would suggest the LF delimiters since that is what the bulk of 
> the files already have, and it also makes grepping easier (a 
> "line" containing a matching pattern won't end up being the 
> entire file).

That makes sense to me, unless anyone thinks that Xconq modules need to
be readable in Windows Notepad.

-- 
Lincoln Peters <sampln@sbcglobal.net>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Game Module Line Delimiters
  2003-12-13 10:47 ` Lincoln Peters
@ 2003-12-13 11:08   ` Hans Ronne
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Ronne @ 2003-12-13 11:08 UTC (permalink / raw)
  To: Lincoln Peters; +Cc: xconq7

>I find it odd that colonizer.g and space-civ.g would have Mac (CR)
>delimeters, since I wrote both of them on the same Linux box.

You emailed them to me, and they probably got autoconverted when I opened
your mail :-/.

>> I would suggest the LF delimiters since that is what the bulk of
>> the files already have, and it also makes grepping easier (a
>> "line" containing a matching pattern won't end up being the
>> entire file).
>
>That makes sense to me, unless anyone thinks that Xconq modules need to
>be readable in Windows Notepad.

The idea is that all files should be Unix format. The Mac code can open and
read them anyway. We could add a similar capacity to the Windows code.

Hans


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-13 10:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-13  8:07 Game Module Line Delimiters Eric McDonald
2003-12-13 10:47 ` Lincoln Peters
2003-12-13 11:08   ` Hans Ronne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).