summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-04-12 07:49:34 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-04-12 07:49:34 +0000
commitdfe1ede00d35b73345199ef775ea016659229b68 (patch)
tree7fc3eced59177edaf1e71d6a45b754afd7ce1cde
parentce1f8e6ecd6f67d16bf81774694f84dd27059ebd (diff)
downloadcoreutils-dfe1ede00d35b73345199ef775ea016659229b68.tar.xz
csplit, nl, expr now conform to POSIX better, and are
more-compatible with traditional Unix, with respect to regular expressions.
-rw-r--r--ChangeLog3
-rw-r--r--NEWS12
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b27acfb4d..e297418bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* Version 6.0-cvs.
+ * NEWS: csplit, nl, expr now conform to POSIX better, and are
+ more-compatible with traditional Unix, with respect to regular
+ expressions.
* src/csplit.c (extract_regexp): Set re_syntax_options to a
value that is compatible with what POSIX requires.
* src/nl.c (build_type_arg): Likewise.
diff --git a/NEWS b/NEWS
index 418d92c6c..00e95f2ee 100644
--- a/NEWS
+++ b/NEWS
@@ -15,11 +15,23 @@ GNU coreutils NEWS -*- outline -*-
basename and dirname now treat // as different from / on platforms
where the two are distinct.
+ csplit and nl now use POSIX syntax for regular expressions, not
+ Emacs syntax. As a result, character classes like [[:print:]] and
+ interval expressions like A\{1,9\} now have their usual meaning,
+ . no longer matches the null character, and \ must precede the + and
+ ? operators.
+
df now considers "none" and "proc" file systems to be dummies and
therefore does not normally display them. Also, inaccessible file
systems (which can be caused by shadowed mount points or by chrooted
bind mounts) are now dummies, too.
+ expr no longer complains about leading ^ in a regular expression
+ (the anchor is ignored), or about regular expressions like A** (the
+ second "*" is ignored). expr now exits with status 2 (not 3) for
+ errors it detects in the expression's values; exit status 3 is now
+ used only for internal errors like arithmetic overflow.
+
ln now uses different (and we hope clearer) diagnostics when it fails.
ln -v now acts more like FreeBSD, so it generates output only when
successful and the output is easier to parse.