Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Nov 2001 11:40:08 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        obrien@FreeBSD.org
Cc:        "Andrey A. Chernov" <ache@nagual.pp.ru>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/boot/common merge_help.awk 
Message-ID:  <74119.1004607608@axl.seasidesoftware.co.za>
In-Reply-To: Your message of "Thu, 01 Nov 2001 00:41:40 PST." <20011101004140.A71075@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 01 Nov 2001 00:41:40 PST, "David O'Brien" wrote:

> 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?

POSIX says [:alpha:] must be supported:

4.1 awk - Pattern scanning and processing language
...

4.1.7.4 Regular Expressions
The awk utility shall make use of ERE notation (see 2.8.4) except that
it shall allow the use of C-language conventions...

2.8.4.2 ERE Bracket Expression
The rules for ERE Bracket Expressions are the same as for RE Bracket
Expressions; see 2.8.3.2.

2.8.3.2 RE Bracket Expression
...
(6) A character class expression shall represent the set of characters
belonging to a character class, as defined in the LC_CTYPE category in
the current locale. ...

Strictly Conforming POSIX.2 Applications shall only use the following
character class expressions, which shall be supported on all conforming
implementations:

	[:alpha:]	[:cntrl:]	[:lower:]	[:space:]
	[:alnum:]	[:digit:]	[:print:]	[:upper:]
	[:blank:]	[:graph:]	[:punct:]	[:xdigit:]
...

Ciao,
Sheldon.

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?74119.1004607608>