From owner-cvs-all Wed May 15 11:14:40 2002 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 983CC37B401; Wed, 15 May 2002 11:14:26 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g4FIENfg035460; Wed, 15 May 2002 11:14:23 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g4FIENAO035459; Wed, 15 May 2002 11:14:23 -0700 (PDT) Date: Wed, 15 May 2002 11:14:23 -0700 From: "David O'Brien" To: Tony Finch Cc: Giorgos Keramidas , committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/asr asr.c dptalign.h dptsig.h i2oadptr.h i2obscsi.h i2odep.h i2odpt.h i2oexec.h i2omsg.h i2otypes.h i2outil.h osd_unix.h osd_util.h sys_info.h Message-ID: <20020515111423.A35429@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <200205142159.g4ELxBg73906@freefall.freebsd.org> <20020515171852.GB65155@hades.hell.gr> <20020515190738.C31038@chiark.greenend.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020515190738.C31038@chiark.greenend.org.uk>; from dot@dotat.at on Wed, May 15, 2002 at 07:07:38PM +0100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, May 15, 2002 at 07:07:38PM +0100, Tony Finch wrote: > On Wed, May 15, 2002 at 08:18:52PM +0300, Giorgos Keramidas wrote: > > "David E. O'Brien" writes: > > > > > > `unexpand -a' should be run _before_ sed 's/^#define /#define^I/g'. > > > > I'd probably use a more elaborate regexp, if this is made part of a > > batch, automated tool though: > > > > sed -e 's/^#[[:space:]]*define[[:space:]][[:space:]]*\([^[:space:]]\)/#define^I\1/' > > Spaces are also allowed before the # of a preprocessing directive. Not in older K&R compilers, nor style(9). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message