A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1590 ====================================================================== Reported By: geoffclare Assigned To: ====================================================================== Project: 1003.1(2016/18)/Issue7+TC2 Issue ID: 1590 Category: Shell and Utilities Type: Error Severity: Objection Priority: normal Status: Under Review Name: Geoff Clare Organization: The Open Group User Reference: Section: pr Page Number: 3109 Line Number: 103939 Interp Status: Proposed Final Accepted Text: See https://austingroupbugs.net/view.php?id=1590#c5855. ====================================================================== Date Submitted: 2022-06-20 10:57 UTC Last Modified: 2022-06-21 15:35 UTC ====================================================================== Summary: requirement for pr on an empty file doesn't match implementations ======================================================================
---------------------------------------------------------------------- (0005864) kre (reporter) - 2022-06-21 15:35 https://austingroupbugs.net/view.php?id=1590#c5864 ---------------------------------------------------------------------- That looks cleaner, though I still suspect it would be even simpler if the "no output on a page" test was specified, rather than the division between -m and not -m, and the special case for -m with all empty files. It really is just one generic "if there's nothing, write nothing" test (most likely, by deferring writing headers until there is some output to go on the page, and not writing the trailer (including all the blank lines required to position it properly) if no header was written. But I see no technical problems with what is proposed in https://austingroupbugs.net/view.php?id=1590#c5862 for the issue it is dealing with. Issue History Date Modified Username Field Change ====================================================================== 2022-06-20 10:57 geoffclare New Issue 2022-06-20 10:57 geoffclare Name => Geoff Clare 2022-06-20 10:57 geoffclare Organization => The Open Group 2022-06-20 10:57 geoffclare Section => pr 2022-06-20 10:57 geoffclare Page Number => 3109 2022-06-20 10:57 geoffclare Line Number => 103939 2022-06-20 10:57 geoffclare Interp Status => --- 2022-06-20 16:20 Don Cragun Note Added: 0005855 2022-06-20 16:20 Don Cragun Status New => Interpretation Required 2022-06-20 16:20 Don Cragun Resolution Open => Accepted 2022-06-20 16:22 Don Cragun Final Accepted Text => See https://austingroupbugs.net/view.php?id=1590#c5855. 2022-06-20 16:22 Don Cragun Tag Attached: tc3-2008 2022-06-20 16:49 kre Note Added: 0005856 2022-06-21 09:30 geoffclare Note Added: 0005858 2022-06-21 09:30 geoffclare Status Interpretation Required => Under Review 2022-06-21 09:30 geoffclare Resolution Accepted => Reopened 2022-06-21 09:34 geoffclare Note Added: 0005859 2022-06-21 11:07 kre Note Added: 0005860 2022-06-21 13:46 geoffclare Note Added: 0005861 2022-06-21 14:00 geoffclare Note Edited: 0005861 2022-06-21 14:12 geoffclare Note Added: 0005862 2022-06-21 14:15 geoffclare Note Edited: 0005862 2022-06-21 14:16 agadmin Interp Status --- => Proposed 2022-06-21 14:16 agadmin Note Added: 0005863 2022-06-21 15:35 kre Note Added: 0005864 ======================================================================