]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: pr: give solution to expanding TABs in multicolumn output
authorPádraig Brady <P@draigBrady.com>
Thu, 21 Mar 2024 15:26:48 +0000 (15:26 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 21 Mar 2024 15:32:13 +0000 (15:32 +0000)
* doc/coreutils.texi (pr invocation): Explicitly state that
multicolumn output will convert spaces to TABs, and show that
this can be undone with the `pr -t -e` or `expand` commands.
Suggested by Douglas McIlroy in https://bugs.gnu.org/69807

doc/coreutils.texi

index e36269588bb55b08a4b4b3219a70452984b6fa96..37d72908936bb5862b83aa14ebc9983345d3bef8 100644 (file)
@@ -2636,9 +2636,11 @@ This option might well cause some lines to be truncated.  The number of
 lines in the columns on each page are balanced.  The options @option{-e}
 and @option{-i} are on for multiple text-column output.  Together with
 @option{-J} option column alignment and line truncation is turned off.
+Since spaces are converted to TABs in multicolumn output, they can be converted
+back by further processing through @command{pr -t -e} or @command{expand}.
 Lines of full length are joined in a free field format and @option{-S}
 option may set field separators.  @option{-@var{column}} may not be used
-with @option{-m} option.
+with the @option{-m} option.
 
 @item -a
 @itemx --across