From 81d0c8f367c89a52e41bbd89e7c45d2b1ac495f2 Mon Sep 17 00:00:00 2001 From: Bo Borgerson Date: Tue, 22 Apr 2008 23:47:42 -0400 Subject: 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. --- doc/coreutils.texi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3-54-g00ecf