From: "J.W. Dare" Newsgroups: comp.os.msdos.djgpp Subject: Re: No new line at end of file? Message-ID: References: <3d71a27d DOT 23705885 AT news DOT nzwide DOT ihug DOT co DOT nz> <3d746b3c DOT 3046168 AT news DOT nzwide DOT ihug DOT co DOT nz> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 Date: Tue, 03 Sep 2002 11:28:29 GMT NNTP-Posting-Host: 68.13.99.222 X-Complaints-To: abuse AT cox DOT net X-Trace: news2.central.cox.net 1031052509 68.13.99.222 (Tue, 03 Sep 2002 07:28:29 EDT) NNTP-Posting-Date: Tue, 03 Sep 2002 07:28:29 EDT Organization: Cox Communications To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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 helpful 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