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


Message #28 received at 47243 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Collin Funk <collin.funk1 <at> gmail.com>, Pádraig Brady
 <P <at> draigBrady.com>
Cc: 47243 <at> debbugs.gnu.org
Subject: Re: bug#47243: pr lacks -p
Date: Sun, 27 Jul 2025 17:26:24 -0700
On 2025-07-27 17:19, Paul Eggert wrote:
> +          putc ('\a', stderr);

A few more things.

stderr might be line buffered, so this needs an fflush afterwards.

If the putc or fflush fails, pr should diagnose and exit immediately 
(otherwise the user will wonder why pr stopped).

A failed open or read from /dev/tty should be diagnosed and exited too.




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.