GNU bug report logs - #47243
pr lacks -p

Previous Next

Package: coreutils;

Reported by: Eric Blake <eblake <at> redhat.com>

Date: Thu, 18 Mar 2021 15:39:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Collin Funk <collin.funk1 <at> gmail.com>, 47243 <at> debbugs.gnu.org
Subject: bug#47243: pr lacks -p
Date: Mon, 28 Jul 2025 00:09:41 +0100
On 27/07/2025 23:36, Collin Funk wrote:
> Paul Eggert said:
> 
>> Given that hardly anybody uses pr any more, I'm surprised that the
>> Austin Group still cares about its options. It's an obsolete utility,
>> and ought to be deprecated.
> 
> True, but this option seems simple enough to implement.
> 
> How about the attached patch?

I would just ignore the -p if stdin/stdout are not a tty.
That would make a test easier anyway, to ensure
`pr -p file >/dev/null` passes.

thanks!
Padraig




This bug report was last modified 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.