summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBo Borgerson <gigabo@gmail.com>2008-04-22 23:47:42 -0400
committerJim Meyering <meyering@redhat.com>2008-06-12 21:03:05 +0200
commit81d0c8f367c89a52e41bbd89e7c45d2b1ac495f2 (patch)
treeea8d5e7931701cce737d522cb0c662a6801eb033 /doc
parent98a96822d9dac92de719fa340fe326e1fe0427fe (diff)
downloadcoreutils-81d0c8f367c89a52e41bbd89e7c45d2b1ac495f2.tar.xz
comm: accept new option: --output-delimiter=STR
* src/comm.c (delimiter): New global. (writeline): Use delimiter string instead of single TAB character. (main): Initialize delimiter. * tests/misc/comm: Add tests for comm output delimiter specification. * doc/coreutils.texi: Document new option. * NEWS: Advertise new option. * TODO: Remove associated item.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 3bedd73c7..d05577d54 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -4473,8 +4473,15 @@ Fail with an error message if either input file is wrongly ordered.
@item --nocheck-order
Do not check that both input files are in sorted order.
-@end table
+Other options are:
+
+@item --output-delimiter=@var{str}
+Print @var{str} between adjacent output columns,
+rather than the default of a single TAB character.
+The delimiter @var{str} may not be empty.
+
+@end table
@node tsort invocation
@section @command{tsort}: Topological sort