From 91e69cd2d02f015fc296e02388e0b18a293faa56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Thu, 21 Mar 2024 15:26:48 +0000 Subject: [PATCH] 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 --- doc/coreutils.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.2