Subject: bug#47243: pr lacks -p

From: Pádraig Brady <[email-masked]>
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