delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/06/08:15:05

From: joel AT gginc DOT co DOT nospam DOT nz (Joel Murdoch)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: No new line at end of file?
Date: Fri, 06 Sep 2002 12:13:29 GMT
Organization: ihug ( New Zealand )
Lines: 24
Message-ID: <3d789b03.13927079@news.nzwide.ihug.co.nz>
References: <3d71a27d DOT 23705885 AT news DOT nzwide DOT ihug DOT co DOT nz> <mqb8nuoav2evvgeefdoj9r2gdfa0vqmk71 AT 4ax DOT com> <3d746b3c DOT 3046168 AT news DOT nzwide DOT ihug DOT co DOT nz> <m779nu019fdsevhg54jo1m400dkspp846b AT 4ax DOT com>
NNTP-Posting-Host: 203-173-247-238.nzwide.ihug.co.nz
X-Trace: lust.ihug.co.nz 1031314363 25496 203.173.247.238 (6 Sep 2002 12:12:43 GMT)
X-Complaints-To: abuse AT ihug DOT co DOT nz
NNTP-Posting-Date: Fri, 6 Sep 2002 12:12:43 +0000 (UTC)
X-Newsreader: Forte Free Agent 1.2/32.242
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Thankfully it wasn't as serious as I thought and only dozen or so
files had the "problem". I'm not really familar enough with C to do
something like this. I only code in C and learn what I need, when I
need, to help out some friends in the Doom community.

On Tue, 03 Sep 2002 11:28:29 GMT, J.W. Dare <jwdare AT cox DOT net> wrote:

>On Tue, 03 Sep 2002 08:00:41 GMT, joel AT gginc DOT co DOT nospam DOT nz (Joel
>Murdoch) wrote:
>
>>Thank you for the <quote>helpful<unquote> answer, but it's a Doom
>>port. I didn't write Doom, and Doom is made up of many many files.
>>DJGPP never used to bitch about the newline thing, and I'd rather not
>>have to edit 100 odd files just to put a newline at the end.
>
>
>It would be quite easy to write a small program that adds new line
>characters to the end of files.  You could use either command line
>wild card expansion or a response file for inputting the list of files
>to be modified.
>-- 
>J.W.Dare
>jwdare AT cox DOT net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019