🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2207

Re: Encouraging good coding standards - call for participation...

#2207
From: Wes Brown
Date: Fri, 08 Mar 1996 23:03
26 lines
1334 bytes
Stan Ryckman (stanr@tiac.net) wrote:
: I once thought I might like to make GNU's "diff" work on my 16-bit
: PC compiler (wanting to modify it to deal with C tokens rather than
: words/lines) but the code turned out to be so hopeless I gave up
: quickly.  Somebody told me that that code is better now, but I've
: never made another effort to get it.
: 
: What I wanted to do was make
: 	int main(void) {return 0;}
: match
: 	int main(void)
: 	{
: 		return 0;
: 	}
: for example, in order to locate "real" differences.

Have you ever heard of GNU indent?  
run the two c files through indent before you diff them and everything will
work out fine.

Wes
---
Wes Brown
ewb4@po.cwru.edu		wes@prozac.student.cwru.edu
http://prozac.cwru.edu/wes/About.me.html
KB8TGR
Technical Details
Message-ID: <4hqec9$1kf@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4gsee2$4r5@solutions.solon.com> <4hlala$4hn@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: wes@prozac.student.cwru.edu (Wes Brown)
Newsgroups: comp.lang.c.moderated
Subject: Re: Encouraging good coding standards - call for participation...
Date: 8 Mar 1996 17:03:37 -0600
Organization: You mean I should be organized?
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4hqec9$1kf@solutions.solon.com>
References: <4gsee2$4r5@solutions.solon.com> <4hlala$4hn@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]