summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRichard Russon <rich@flatcap.org>2015-09-26 14:22:26 +0100
committerPádraig Brady <P@draigBrady.com>2016-01-13 10:59:55 +0000
commitbc94551f63cfc4c05a56628dfcb386707d9e98cb (patch)
tree8e22511edca165d3603b13762ff2063801543c27 /doc
parentb2eadd109c3a508011705761dfe24a35180d925d (diff)
downloadcoreutils-bc94551f63cfc4c05a56628dfcb386707d9e98cb.tar.xz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi4
1 files changed, 4 insertions, 0 deletions
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