diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-01-08 14:31:27 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-01-13 10:59:56 +0000 |
commit | 826c98b02486dd9dbbab3d2381d5f778af42dd7a (patch) | |
tree | 24177f02817887f4ca8e63844e68770086c663ae /doc/coreutils.texi | |
parent | a499a0ce583a8d941e50c4da450133e694994d17 (diff) | |
download | coreutils-826c98b02486dd9dbbab3d2381d5f778af42dd7a.tar.xz |
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
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r-- | doc/coreutils.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index dcf28c5f9..09020275c 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -1706,6 +1706,8 @@ Treat the separator string as a regular expression. @opindex -s @opindex --separator Use @var{separator} as the record separator, instead of newline. +Note an empty @var{separator} is treated as a zero byte. +I.e., input and output items are delimited with ASCII NUL. @end table |