summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-02-01 15:19:08 +0000
committerPádraig Brady <P@draigBrady.com>2010-02-01 15:36:56 +0000
commitf86bb6967dba1e2b6026997963a90e00cd641490 (patch)
tree0b4451e967924bfba4c42f9c819c0e33b1b53c95 /NEWS
parent819aa9eba741c36bb522cbc2c7f10e24d190f945 (diff)
downloadcoreutils-f86bb6967dba1e2b6026997963a90e00cd641490.tar.xz
join: make -t '' operate on the whole line
Previously passing an empty parameter to -t would raise an error, but now it means to treat each line as a single field for matching. This matches the default operation of `sort` which is usually used in conjunction with join. * src/join.c (main): Set the field delimiter to '\n' if an empty parameter is passed to -t. (usage): Mention the operation of -t ''. * tests/misc/join: Add 2 new tests, for the existing -t '\0' and the new -t '' functionality. * doc/coreutils.texi (join invocation): Mention that join -t '' always operates on the whole line, while join -t '\0' usually does. * NEWS: Mention the change in behavior.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3fe52e7b3..a96e59439 100644
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,9 @@ GNU coreutils NEWS -*- outline -*-
ls --color no longer emits the final 3-byte color-resetting escape
sequence when it would be a no-op.
+ join -t '' no longer emits an error and instead operates on
+ each line as a whole (even if they contains NUL characters).
+
* Noteworthy changes in release 8.4 (2010-01-13) [stable]