From: Pádraig Brady
Date: Thu, 21 Mar 2024 15:26:48 +0000 (+0000) Subject: doc: pr: give solution to expanding TABs in multicolumn output X-Git-Tag: v9.5~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91e69cd2d02f015fc296e02388e0b18a293faa56;p=thirdparty%2Fcoreutils.git doc: pr: give solution to expanding TABs in multicolumn output * 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 --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index e36269588b..37d7290893 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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