tac: support an empty (NUL) --separator
commit826c98b02486dd9dbbab3d2381d5f778af42dd7a
authorPádraig Brady <P@draigBrady.com>
Fri, 8 Jan 2016 14:31:27 +0000 (8 14:31 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 13 Jan 2016 10:59:56 +0000 (13 10:59 +0000)
tree24177f02817887f4ca8e63844e68770086c663ae
parenta499a0ce583a8d941e50c4da450133e694994d17
tac: support an empty (NUL) --separator

* doc/coreutils.texi (tac invocation): Mention the
NUL delineation with an empty --separator.
* src/tac.c (main): Allow an empty separator when -r not specified.
* tests/misc/tac.pl: Add test cases.
* NEWS: Mention the new feature.
Fixes http://bugs.gnu.org/8103
NEWS
doc/coreutils.texi
src/tac.c
tests/misc/tac.pl