Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 11:14:23 -0700
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Tony Finch <dot@dotat.at>
Cc:        Giorgos Keramidas <keramida@FreeBSD.ORG>, 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>
In-Reply-To: <20020515190738.C31038@chiark.greenend.org.uk>; from dot@dotat.at on Wed, May 15, 2002 at 07:07:38PM %2B0100
References:  <200205142159.g4ELxBg73906@freefall.freebsd.org> <20020515171852.GB65155@hades.hell.gr> <20020515190738.C31038@chiark.greenend.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <obrien@FreeBSD.ORG> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020515111423.A35429>