summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAlain Magloire <alainm@rcsm.ee.mcgill.ca>2001-02-08 15:03:50 +0000
committerAlain Magloire <alainm@rcsm.ee.mcgill.ca>2001-02-08 15:03:50 +0000
commit67d86c7220648435fdfe63dbfcb5494180d1085c (patch)
tree88422478f83ec2ce9c22b36d345523242979bfab /NEWS
parent5d6c5528ceaf61a916d667af1a54562c9caa7789 (diff)
downloadgrep-67d86c7220648435fdfe63dbfcb5494180d1085c.tar.gz
Doc improvoments fro P.E.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 91d225d6..b96222ca 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,10 @@
+ - Bracket regular expressions like [a-z] are now locale-dependent,
+ as POSIX.2 requires. For example, many locales sort characters in
+ dictionary order, and in these locales the regular expression
+ [a-d] is not equivalent to [abcd]; it might be equivalent to
+ [aBbCcDd], for example. To obtain the traditional interpretation
+ of bracket expressions, you can use the C locale by setting the
+ LC_ALL environment variable to the value "C".
- The new -P or --perl-regexp option tells grep to interpert the pattern as
a Perl regular expression.