View Issue Details

IDProjectCategoryView StatusLast Update
00004711003.1(2008)/Issue 7Shell and Utilitiespublic2019-06-10 08:55
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityEditorialTypeClarification Requested
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionpwd
Page Number3067
Line Number101688
Interp Status---
Final Accepted Text
Summary0000471: pwd -L description needs rearranging
DescriptionThe pwd -L description states the general case first, then a more
specific case beginning with "Otherwise". The two cases should either
be switched round, or rewritten to use "except" instead of "Otherwise".
Doing the latter would also allow the amount of duplication to be reduced.
Desired ActionChange:

    If the PWD environment variable contains an absolute pathname of
    the current directory that does not contain the filenames dot or
    dot-dot, pwd shall write this pathname to standard output.
    Otherwise, if the PWD environment variable contains a pathname of
    the current directory that is longer than {PATH_MAX} bytes
    including the terminating null, and the pathname does not contain
    any components that are dot or dot-dot, it is unspecified ...

to:

    If the PWD environment variable contains an absolute pathname of
    the current directory and the pathname does not contain any
    components that are dot or dot-dot, pwd shall write this pathname
    to standard output, except that if the PWD environment variable is
    longer than {PATH_MAX} bytes including the terminating null, it is
    unspecified ...
Tagstc2-2008

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-07-06 15:00 geoffclare New Issue
2011-07-06 15:00 geoffclare Status New => Under Review
2011-07-06 15:00 geoffclare Assigned To => ajosey
2011-07-06 15:00 geoffclare Name => Geoff Clare
2011-07-06 15:00 geoffclare Organization => The Open Group
2011-07-06 15:00 geoffclare Section => pwd
2011-07-06 15:00 geoffclare Page Number => 3067
2011-07-06 15:00 geoffclare Line Number => 101688
2011-07-06 15:00 geoffclare Interp Status => ---
2011-08-11 15:27 Don Cragun Status Under Review => Resolved
2011-08-11 15:27 Don Cragun Resolution Open => Accepted
2011-08-11 15:27 Don Cragun Desired Action Updated
2011-08-11 15:27 Don Cragun Tag Attached: tc2-2008
2019-06-10 08:55 agadmin Status Resolved => Closed