head,tail: add the -z,--zero-terminated option
commitbc94551f63cfc4c05a56628dfcb386707d9e98cb
authorRichard Russon <rich@flatcap.org>
Sat, 26 Sep 2015 13:22:26 +0000 (26 14:22 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 13 Jan 2016 10:59:55 +0000 (13 10:59 +0000)
tree8e22511edca165d3603b13762ff2063801543c27
parentb2eadd109c3a508011705761dfe24a35180d925d
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.
NEWS
doc/coreutils.texi
src/head.c
src/tail.c
tests/misc/head.pl
tests/misc/tail.pl