From bc94551f63cfc4c05a56628dfcb386707d9e98cb Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Sat, 26 Sep 2015 14:22:26 +0100 Subject: head,tail: add the -z,--zero-terminated option * doc/coreutils.texi: Reference the option description. * src/head.c: Parameterize the delimiter character. * src/tail.c: Likewise. * tests/misc/head.pl: Add test case. * tests/misc/tail.pl: Likewise. * NEWS: Mention the new feature. --- doc/coreutils.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/coreutils.texi') diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 80e9a032d..a7a89ad98 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -2817,6 +2817,8 @@ Never print file name headers. @opindex --verbose Always print file name headers. +@optZeroTerminated + @end table For compatibility @command{head} also supports an obsolete option syntax @@ -3042,6 +3044,8 @@ every @var{number} seconds. @opindex --verbose Always print file name headers. +@optZeroTerminated + @end table For compatibility @command{tail} also supports an obsolete usage -- cgit v1.2.3-54-g00ecf