summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2009-11-20 15:24:07 +0000
committerPádraig Brady <P@draigBrady.com>2010-02-01 13:57:42 +0000
commit819aa9eba741c36bb522cbc2c7f10e24d190f945 (patch)
tree86bafe4a6dbe2dbc2ca813bbb349fe49caaf38cb /NEWS
parent86914603b58b666e4c0f8442ba46e89190f381e2 (diff)
downloadcoreutils-819aa9eba741c36bb522cbc2c7f10e24d190f945.tar.xz
join: add --header option to always output the first line
This essentially allows one to use --check-order with headings. Note join without --check-order will already handle the common case where headings do match in each file, however using --check-order will fail often when the header sorts after the first line of data. Note also that this will join header lines from each file even if they don't match, with headings from the first file being used. * NEWS: Mention the new option. * doc/coreutils.texi (join invocation): Describe the new option. * src/join.c (usage): Likewise. (join): Join the header lines unconditionally. * tests/misc/join: Add 5 new tests.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index aa37d69e0..3fe52e7b3 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,9 @@ GNU coreutils NEWS -*- outline -*-
** New features
+ join now accepts the --header option, to treat the first line of each
+ file as a header line to be joined and printed unconditionally.
+
who: the "+/-" --mesg (-T) indicator of whether a user/tty is accepting
messages could be incorrectly listed as "+", when in fact, the user was
not accepting messages (mesg no). Before, who would examine only the