Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2001 12:29:06 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/boot/common merge_help.awk
Message-ID:  <20011101122904.A67911@nagual.pp.ru>
In-Reply-To: <20011101004140.A71075@dragon.nuxi.com>
References:  <200111010716.fA17GZH92639@freefall.freebsd.org> <20011101111853.B66386@nagual.pp.ru> <20011101004140.A71075@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 01, 2001 at 00:41:40 -0800, David O'Brien wrote:
> On Thu, Nov 01, 2001 at 11:18:53AM +0300, Andrey A. Chernov wrote:
> > On Wed, Oct 31, 2001 at 23:16:35 -0800, David E. O'Brien wrote:
> > > obrien      2001/10/31 23:16:35 PST
> > > 
> > >   Modified files:
> > >     sys/boot/common      merge_help.awk 
> > >   Log:
> > >   Bell-Labs AWK does not support POSIX "bracket expressions" (POSIXese for
> > >   "character classes", basically).  So change them to their character
> > >   representation.
> > 
> > So, why we switch from GNU awk to non-POSIX compatible one?
> 
> An POSIX in this context refers to the syntax of [[:alpha:]].  It does
> not mean the POSIX awk must support that feature.  Garrett, what does
> POSiX have to say about AWK?

According to POSIX 1003.1 Draft 7, it must:

"The awk utility shall make use of the extended regular expression
notation (see the Base Definitions volume of IEEE Std 1003.1-200x, Section
9.4, Extended Regular Expressions) except that it shall allow the use of
C-language conventions for escaping special characters within the EREs, as
specified in the table in the Base Definitions volume of IEEE Std
1003.1-200x, Chapter 5"

We need either to fix it or to return to GNU awk, current situation is not 
acceptable.

-- 
Andrey A. Chernov
http://ache.pp.ru/

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?20011101122904.A67911>