From 6eb51ce29e962bc13586261bd0e1de4780c269ff Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Thu, 14 Feb 2013 15:29:08 -0500 Subject: 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. --- doc/coreutils.texi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3-54-g00ecf