| Date: Tue, 24 Aug 2004 14:37:18 +0100 (IST)
| From: Paul Jakma <paul at clubi.ie>
|
| On Tue, 24 Aug 2004, Darragh Bailey wrote:
| [... ranges in regular expressions ] might be a gnu egrep extension ;) -
| original egrep mightnt support POSIX bounds - not many things do
| actually.).
AFAICR w/o bothering to actually check, ranges are part
of POSIX.2 EREs (Extended REs), and hence are supposed
to be by any tool which supports/uses EREs. and it is
EREs which are not supported by many tools, or which
are "activated" only by a special flag/option/silliness,
such as -E in GNUs egrep(1). that may make sense
because some BREs (Basic REs, what everyone is used to)
are not valid EREs and/or change, so there is a backwords
compatibility problem here --- _lots_ of scripts etc use
BREs, so just changing all the tools to default to EREs
is very liable/likely to break things .... ;-\
cheers (trying to remember his POSIX.[12] work from a
few too many years ago)!
-blf-
--
«How many surrealists does it take to | Brian Foster Montpellier,
change a lightbulb? Three. One calms | blf at utvinternet.ie FRANCE
the warthog, and two fill the bathtub | Stop E$$o (ExxonMobile)!
with brightly-colored machine tools.» | http://www.stopesso.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!