bug#47243: pr lacks -p
Pádraig Brady <[email protected]>
| Newsgroups | gmane.comp.gnu.core-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
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