From unknown Fri Jun 20 07:12:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#69807 <69807@debbugs.gnu.org> To: bug#69807 <69807@debbugs.gnu.org> Subject: Status: questioning automatic -i in multicolumn pr Reply-To: bug#69807 <69807@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:12:13 +0000 retitle 69807 questioning automatic -i in multicolumn pr reassign 69807 coreutils submitter 69807 Douglas McIlroy severity 69807 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 15 01:09:07 2024 Received: (at submit) by debbugs.gnu.org; 15 Mar 2024 05:09:07 +0000 Received: from localhost ([127.0.0.1]:51097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkzoY-0001rs-9b for submit@debbugs.gnu.org; Fri, 15 Mar 2024 01:09:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:48380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkrke-0003iZ-ML for submit@debbugs.gnu.org; Thu, 14 Mar 2024 16:32:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkrk2-0007kK-Vn for bug-coreutils@gnu.org; Thu, 14 Mar 2024 16:31:55 -0400 Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkrk1-0001lF-5x for bug-coreutils@gnu.org; Thu, 14 Mar 2024 16:31:54 -0400 Received: by mail-ua1-x936.google.com with SMTP id a1e0cc1a2514c-7de1ea0214bso308737241.0 for ; Thu, 14 Mar 2024 13:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dartmouth.edu; s=google1; t=1710448311; x=1711053111; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=SUXQd5avPWx1vcV+dbIyGNnFgrzrWjyBeShsjPnSy9g=; b=qtax1afEUU81LTbSv/a0RFVK2pBEjTp3coOmaHHPRTZz8hs0fQiyslV3f8asa5gC/F 4Sg2RSLXCdjKdvH4jSWxS5i0UFOR+r+JCbWcYFlTj2J9FLw0cnOJJi59jjJONl2cK4F6 nA1CiH4EfKyq9ojdF5VSzGr0Ns1EdYaqPs10b2K3hscIwYlYcWh5jlGK5IzTNKfeI+JN qY2mXpGZtlf8j//Yb/wSppq91oB08dqLvi1wQt97ugWI2SfQkXHFniEhPYqOx2budPUP 6bAQ+SMu2tcwlLWs5Oz/w99TqGTX74hEs/mH76C8rVLYWzlwvt0kvPCnbPmxB1SLS8q8 m09A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710448311; x=1711053111; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SUXQd5avPWx1vcV+dbIyGNnFgrzrWjyBeShsjPnSy9g=; b=n1iNCtrp8aYBvWKcB2e4cCHSaZIUYUlh0jbypv47b7PvJSWruU7f780LpVHKmublUL VL5Rxz13havCcFEWnnnS3vSXq8SEvUGkuXoi95T7gOpi6OdAfIhZIR7L82+9NNUukXyH eCeHZQrTFcZ39ab/3S2lLVM2xFKM2Vi6bqsq4LOcu4+ZSKiSUkCO3DC/Xd3Ds1hA/xUG Bvzetvhnl5hcKcMEViQrEyKlWlyZsIs447TYT+euHdaFtrgPHAetIrjxbO7bjqeRgKiK oKXrT0RyyJOEZCuRg1jnm55byT8k/c6NPvhP+xkB0U8hkEQqHJtJv7hRTZcLlHrxSvqs b7ZQ== X-Gm-Message-State: AOJu0YzU8jprNA9lJLOD1cIL4k7n/0NJAihz+C1mgmGGo6cQknYrVvbe gVvOS1S42EH2wnABq/oqg8eHHeX/OhTAyszleBEWBTj5+kq0irB9lFqe9Dh7RyBr+PfH2H9JMfR VdfHYM5ca3BCpqRQ3MH4L3gA77SGZoShnvtL1Jx+xQr2X19I1 X-Google-Smtp-Source: AGHT+IG9VnwDHUCfm06NRdKWLNxwOna7Kl+5cEYFBPwyHVIh3lgvoEo6rE8hXoOibnv2E5JXBXqWNYxsEGSuy2mmlks= X-Received: by 2002:a05:6102:a8d:b0:472:a0f3:9c5b with SMTP id n13-20020a0561020a8d00b00472a0f39c5bmr1466036vsg.28.1710448310711; Thu, 14 Mar 2024 13:31:50 -0700 (PDT) MIME-Version: 1.0 From: Douglas McIlroy Date: Thu, 14 Mar 2024 16:31:34 -0400 Message-ID: Subject: questioning automatic -i in multicolumn pr To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary="000000000000f79dbc0613a4c7e4" Received-SPF: pass client-ip=2607:f8b0:4864:20::936; envelope-from=douglas.mcilroy@dartmouth.edu; helo=mail-ua1-x936.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 15 Mar 2024 01:08:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000f79dbc0613a4c7e4 Content-Type: text/plain; charset="UTF-8" Multicolumn options in pr imply option -i (tabification). The introduction of tabs with physical rather than logical meaning makes output that is OK for viewing only if you have correct tab stops, and is complicated for further processing. It caters for obsolete equipment--typewriters, on which tabbing was appreciably faster than spacing. As a wish-list item I propose abolishing implicit tabification. A second choice (that doesn't buck Posix) is to provide an option to suppress implicit tabification. At a bare minimum, document a workaround for the inconvenient tabs, e.g. post-processing with pr -t -e. --000000000000f79dbc0613a4c7e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Multicolumn options in pr imply option -i (tabification). = The introduction of tabs with physical rather than logical meaning makes ou= tput that is OK for viewing only if you have correct tab stops, and is comp= licated for further processing.=C2=A0 It=C2=A0caters for obsolete equipment= --typewriters, on which=C2=A0tabbing was appreciably faster than spacing.
As a wish-list item I propose abolishing implicit tabific= ation. A second choice (that doesn't buck Posix) is to provide an optio= n to suppress implicit tabification. At a bare minimum, document a workarou= nd for the inconvenient=C2=A0tabs, e.g. post-processing with pr -t -e.
--000000000000f79dbc0613a4c7e4-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 21 11:40:15 2024 Received: (at 69807-done) by debbugs.gnu.org; 21 Mar 2024 15:40:15 +0000 Received: from localhost ([127.0.0.1]:38829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rnKWc-0003C4-Iy for submit@debbugs.gnu.org; Thu, 21 Mar 2024 11:40:15 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:59552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rnKRe-0002xs-MQ for 69807-done@debbugs.gnu.org; Thu, 21 Mar 2024 11:35:07 -0400 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4146feb33e1so8624005e9.2 for <69807-done@debbugs.gnu.org>; Thu, 21 Mar 2024 08:34:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711035201; x=1711640001; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=6eLg3o/JPtSDH6L6VrOIRALOCkWuODCRbhqu5M7Y31A=; b=E+Neg3sHU6wgn/cJJX66ABAGPwAFKXmZpqxTzHkcVpueSS3jH2swv/qgs147WvacXg OmaOSgYbgcrd58TPtft3+S6we9emcPcifx+8lY874fbAf/H8UCgyYSK8ZY5ydAT4/0Q/ zAyUEMPvvcza3P6Yx9H1ywCbyXxuE5tN2Ph28g54FmWxLNpNuYbBrq8ZnCgrs/bA9k2t O6/TNRmISbkhwsNZFF7JqRATUVSbvPmw4M1PTLrf32BDyXxdgubNLI2qYqFA9EdV48GZ yjpzoK8vsEbkvTAS7peqUh6mAcmnQyOikCJSBeHWs4RcVFVEi2iakGBcNFpx2kcJvRYj zJEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711035201; x=1711640001; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6eLg3o/JPtSDH6L6VrOIRALOCkWuODCRbhqu5M7Y31A=; b=RClvlVuDVjpKkTSLALyGBRPAZJLin18ZJ2dVP2MWypzaUNGypGegWzuh4eqK+navDc LsBDNe1J9jTVCHgjXSKAuQ2m3bUL7xVvqmwuMkA/+PNXaz5Tjj5YHIjTuX3ryJ23zRCI BKcSbEE0maZIHbPMi+h+fz5XwVKRqHYH8Am51nVsXUw9POCf0GCmIr64Ld1fZ2Xg3EsL pdakBKhGCAF8vT4FJsXvdHWbuM/xhmSmogI0zQ+cFmLP2Sd4vP52hl5dkZhb4iyFJZ7u L1tqGYY7p7o2MR+NJwHXhOdQD37w8RIwbIPVPZH2LTJsKWmKI+8w/LUQ0Ck2lGA0bUdD 2ZqQ== X-Forwarded-Encrypted: i=1; AJvYcCVsacomtOyD+JzxOa//wr2Aj4H61YweB/YHw2xCrMDJ5VjR22WjmF7tmRM/CeBcuYDADL3YwGkvOQ1JIQOaKktJa3zxaZbv1t463w== X-Gm-Message-State: AOJu0Yw8u2lwBbhya2XDlWEzYXtxP6wsYzmSJre06MkejesarI+AXCd9 2IppsJTYj96r5gUYS1Ob+alUoIBlJhXXsnA7xv1U97LCfEYrm1bIqH3eHZ3e X-Google-Smtp-Source: AGHT+IEjXUpmLn7uYRrmZ6U2rzKptzGhcklmLs3V5xJwonnXBO2wjRRUwel4BaAxxFeQbdEN//ge+Q== X-Received: by 2002:a05:600c:1987:b0:414:71b2:73c4 with SMTP id t7-20020a05600c198700b0041471b273c4mr2576133wmq.12.1711035200523; Thu, 21 Mar 2024 08:33:20 -0700 (PDT) Received: from [192.168.1.39] (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146]) by smtp.googlemail.com with ESMTPSA id p11-20020a05600c358b00b0041408af4b34sm5869361wmq.10.2024.03.21.08.33.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Mar 2024 08:33:19 -0700 (PDT) Message-ID: <543d5fc9-a25c-0b6a-7ce5-ff0722c956f9@draigBrady.com> Date: Thu, 21 Mar 2024 15:33:19 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#69807: questioning automatic -i in multicolumn pr Content-Language: en-US To: Douglas McIlroy , 69807-done@debbugs.gnu.org References: From: =?UTF-8?Q?P=C3=A1draig_Brady?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 69807-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On 14/03/2024 20:31, Douglas McIlroy wrote: > Multicolumn options in pr imply option -i (tabification). The introduction > of tabs with physical rather than logical meaning makes output that is OK > for viewing only if you have correct tab stops, and is complicated for > further processing. It caters for obsolete equipment--typewriters, on > which tabbing was appreciably faster than spacing. > > As a wish-list item I propose abolishing implicit tabification. A second > choice (that doesn't buck Posix) is to provide an option to suppress > implicit tabification. At a bare minimum, document a workaround for the > inconvenient tabs, e.g. post-processing with pr -t -e. Good call on the documentation. I'll add this now: commit 91e69cd2d02f015fc296e02388e0b18a293faa56 (HEAD -> master) Author: Pádraig Brady Date: Thu Mar 21 15:26:48 2024 +0000 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 e36269588..37d729089 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -2636,9 +2636,11 @@ This option might well cause some lines to be truncated.> 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}. thanks, Pádraig From unknown Fri Jun 20 07:12:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 19 Apr 2024 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator