summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2013-02-14 15:29:08 -0500
committerPádraig Brady <P@draigBrady.com>2013-02-28 01:49:56 +0000
commit6eb51ce29e962bc13586261bd0e1de4780c269ff (patch)
tree737687e0f2bb181a1eff21700ffbe848be1f1da7 /doc
parent551128ebd71d1216ccc807eccee91190d6b21462 (diff)
downloadcoreutils-6eb51ce29e962bc13586261bd0e1de4780c269ff.tar.xz
join: Add the -z, --zero-terminated option
* NEWS: Mention join's new option: --zero-terminated (-z). * src/join.c: Add new option, --zero-terminated (-z), to make join use the NUL byte as separator/delimiter rather than newline. (get_line): Use readlinebuffer_delim in place of readlinebuffer. (main): Handle the new option. (usage): Describe new option the same way sort does. * doc/coreutils.texi (join invocation): Describe the new option. * tests/misc/join.pl: add tests for -z option.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 2c16dc48f..19ef4651c 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -6181,6 +6181,8 @@ character is used to delimit the fields.
Print a line for each unpairable line in file @var{file-number}
(either @samp{1} or @samp{2}), instead of the normal output.
+@zeroTerminatedOption
+
@end table
@exitstatus