From owner-cvs-all Wed May 15 11: 8:15 2002 Delivered-To: cvs-all@freebsd.org Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [212.22.195.2]) by hub.freebsd.org (Postfix) with ESMTP id D145E37B7D5; Wed, 15 May 2002 11:07:38 -0700 (PDT) Received: from fanf by chiark.greenend.org.uk with local (Exim 3.12 #1) id 1783Ba-0001uv-00 (Debian); Wed, 15 May 2002 19:07:38 +0100 Date: Wed, 15 May 2002 19:07:38 +0100 From: Tony Finch To: Giorgos Keramidas Cc: "David E. O'Brien" , 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: <20020515190738.C31038@chiark.greenend.org.uk> References: <200205142159.g4ELxBg73906@freefall.freebsd.org> <20020515171852.GB65155@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020515171852.GB65155@hades.hell.gr>; from keramida@FreeBSD.ORG on Wed, May 15, 2002 at 08:18:52PM +0300 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 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. Tony. -- f.a.n.finch http://dotat.at/ FAEROES: CYCLONIC 3 OR 4 IN NORTH AT FIRST, OTHERWISE WESTERLY BACKING EASTERLY 4 OR 5, OCCASIONALLY 6. OCCASIONAL RAIN. MODERATE OR GOOD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message