From owner-freebsd-questions Wed Mar 20 18:53:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 0FF2C37B400 for ; Wed, 20 Mar 2002 18:53:44 -0800 (PST) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 75A3C28C29; Wed, 20 Mar 2002 21:53:43 -0500 (EST) Date: Wed, 20 Mar 2002 21:53:43 -0500 (EST) From: Peter Leftwich X-X-Sender: To: Gary Kline Cc: FreeBSD Questions Subject: Re: K&R to ANSI? [nroff?] In-Reply-To: <200203210239.g2L2dqm49467@tao.thought.org> Message-ID: <20020320214944.T47592-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 20 Mar 2002, Gary Kline wrote: > Does anybody know if there are existant tools that can transform K&R functions to the standard? > foo (n) > int ; > to > foo (int n) > I'm tweaking one of our more ancient ports and would like to update the params. > thanks for any clues, > gary > -- > Gary Kline kline@thought.org www.thought.org Public service Unix What are K&R functions and what do you mean by "the standard?" I know you are asking about C code and not command-line stuff, but would any of these commands help you with your cause "nroff" "groff" "troff"? These are odd little preprocessors that I'm playing around with, trying to get it so the user can do something like "man iplog | roff | grep -i default" -- the ESC codes that boldify some of the letters prevent simple grepping! :( -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message