From owner-freebsd-questions Wed May 10 13:45:16 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA03688 for questions-outgoing; Wed, 10 May 1995 13:45:16 -0700 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id NAA03681 for ; Wed, 10 May 1995 13:45:13 -0700 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA26920; Wed, 10 May 95 14:38:35 MDT From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9505102038.AA26920@cs.weber.edu> Subject: Re: I miss 'cb' To: dkelly@nebula.tbe.com Date: Wed, 10 May 95 14:38:35 MDT Cc: questions@FreeBSD.org In-Reply-To: <9505102025.AA06172@tomcat1.tbe.com> from "David Kelly" at May 10, 95 03:25:51 pm X-Mailer: ELM [version 2.4dev PL52] Sender: questions-owner@FreeBSD.org Precedence: bulk > Recently I needed to deal with some oddly formatted C code and reached for > good old cb and found it missing from FreeBSD. Any suggestions as to where > I can find one? Seems like a good task for Perl... Typical modern usage is GNU "indent", which can be programmed for style on comments, indentation, fuction argument formal declation, placement of squiggly brackets on "if" and "while" and "for", spcaes before or after parenthesis, etc., etc. I believe that there was even a KNF template being passed around for it on the old mailing lists. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.