summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-09 16:48:02 +0200
committerJim Meyering <meyering@redhat.com>2009-09-10 12:25:04 +0200
commit0bbb9d7785957437182fc633b2d387cc51ee918e (patch)
tree0d7c2962c911b153ab1c90c09e67ccbddc82f3d6 /doc/coreutils.texi
parentf1e1e89e8166153852de1cc1777edb40dc4c08e9 (diff)
downloadcoreutils-0bbb9d7785957437182fc633b2d387cc51ee918e.tar.xz
dd conv=unblock: print final newline consistently
* src/dd.c (dd_copy) [C_UNBLOCK]: Always print the final newline for non-empty output, not just when output size is a multiple of cbs. * doc/coreutils.texi (dd invocation) [conv=unblock]: Mention that dd prints a newline after each output record, not just when replacing trailing spaces. Reported by Ulrich Drepper. * tests/dd/unblock: New file. Test for this. * tests/Makefile.am (TESTS): Add it. * NEWS (Bug fixes): Mention it.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 16ff61395..93f939019 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -7775,8 +7775,8 @@ input newline with a space and padding with spaces as necessary.
@item unblock
@opindex unblock
-Replace trailing spaces in each @samp{cbs}-sized input block with a
-newline.
+Remove any trailing spaces in each @samp{cbs}-sized input block,
+and append a newline.
The @samp{block} and @samp{unblock} conversions are mutually exclusive.