View Issue Details

IDProjectCategoryView StatusLast Update
00014341003.1(2016/18)/Issue7+TC2Shell and Utilitiespublic2024-06-11 09:08
Reporterandras_farkas Assigned To 
PrioritynormalSeverityCommentTypeEnhancement Request
Status ClosedResolutionAccepted As Marked 
NameAndras Farkas
Organization
User Reference
Sectionpr
Page Number3107
Line Number103845-103847
Interp Status---
Final Accepted Text0001434:0005283
Summary0001434: Moving the -p option in the pr utility synopsis
DescriptionIn
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pr.html
-f and -p are put together as [-fp] in the synopsis. As far as I can tell, if I understand it right, this is a historical artifact from them being added to POSIX from the old SUS standard at the same time. -f is XSI while -p is normal (required, unshaded) so I feel -p can be moved into [-adFmrt] for [-adFmprt] since those are all the other regular flags that don't take arguments.

I originally noted this as a minor nit here:
https://austingroupbugs.net/view.php?id=1432

An additional thing that could be done might be to move -f too, in the sense of taking it from the very end of the synopsis, and putting it closer to the front, like so:
[-adFmprt] [-f]
Desired ActionMove -p into [-adFmrt] to make that section [-adFmprt]
Tagstc3-2008

Relationships

related to 0001432 Closed Online Pubs Possible rendering bug in webpage for pr utility? 

Activities

andras_farkas

2020-12-15 01:10

reporter   bugnote:0005171

Or, even, since a single flag can be XSI shaded in a group of flags, maybe even...
[-adfFmprt] or [-adFfmprt] (with XSI shading around the f)

andras_farkas

2020-12-15 01:10

reporter   bugnote:0005172

Though if that should be a separate issue, I can make that. Or we can rename this issue to "moving multiple options in the pr synopsis" or something like that.

geoffclare

2021-03-18 15:52

manager   bugnote:0005283

Change:
[−adFmrt]
to:
[−adfFmprt]
with XSI shading on just the "f" character.

Delete "[ −fp]"

andras_farkas

2021-03-19 16:03

reporter   bugnote:0005293

That's even better! Thanks, geoffclare.

Issue History

Date Modified Username Field Change
2020-12-15 01:08 andras_farkas New Issue
2020-12-15 01:08 andras_farkas Name => Andras Farkas
2020-12-15 01:08 andras_farkas Section => pr
2020-12-15 01:10 andras_farkas Note Added: 0005171
2020-12-15 01:10 andras_farkas Note Added: 0005172
2020-12-15 02:09 Don Cragun Page Number => 3107
2020-12-15 02:09 Don Cragun Line Number => 103845-103847
2020-12-15 02:09 Don Cragun Interp Status => ---
2020-12-16 11:53 agadmin Relationship added related to 0001432
2021-03-18 15:52 geoffclare Note Added: 0005283
2021-03-18 15:53 geoffclare Final Accepted Text => 0001434:0005283
2021-03-18 15:53 geoffclare Status New => Resolved
2021-03-18 15:53 geoffclare Resolution Open => Accepted As Marked
2021-03-18 15:54 geoffclare Tag Attached: tc3-2008
2021-03-19 16:03 andras_farkas Note Added: 0005293
2021-04-01 09:40 geoffclare Status Resolved => Applied
2024-06-11 09:08 agadmin Status Applied => Closed