[1003.1(2016)/Issue7+TC2 0001306]: Documented folder= behaviour contradicts implementations (of folders command)
The following issue has a resolution that has been APPLIED. == https://austingroupbugs.net/view.php?id=1306 == Reported By:steffen Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1306 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: Applied Name: Steffen Nurpmeso Organization: User Reference: Section:Vol. 3: Shell and Utilities, mailx Page Number:2951 Line Number:97809 Interp Status: Approved Final Accepted Text:See https://austingroupbugs.net/view.php?id=1306#c4716. Resolution: Accepted Fixed in Version: == Date Submitted: 2019-12-16 22:38 UTC Last Modified: 2020-02-26 11:45 UTC == Summary:Documented folder= behaviour contradicts implementations (of folders command) == Issue History Date ModifiedUsername FieldChange == 2019-12-16 22:38 steffenNew Issue 2019-12-16 22:38 steffenName => Steffen Nurpmeso 2019-12-16 22:38 steffenSection => Vol. 3: Shell and Utilities, mailx 2019-12-16 22:38 steffenPage Number => 2951 2019-12-16 22:38 steffenLine Number => 97809 2020-01-09 17:32 Don Cragun Interp Status => --- 2020-01-09 17:32 Don Cragun Note Added: 0004716 2020-01-09 17:32 Don Cragun Status New => Interpretation Required 2020-01-09 17:32 Don Cragun Resolution Open => Accepted 2020-01-09 17:33 Don Cragun Final Accepted Text => See https://austingroupbugs.net/view.php?id=1306#c4716. 2020-01-09 17:33 Don Cragun Tag Attached: tc3-2008 2020-01-10 17:43 agadminInterp Status--- => Proposed 2020-01-10 17:43 agadminNote Added: 0004717 2020-02-19 17:27 ajosey Interp StatusProposed => Approved 2020-02-19 17:27 ajosey Note Added: 0004785 2020-02-26 11:45 geoffclare Status Interpretation Required => Applied ==
[1003.1(2016)/Issue7+TC2 0001306]: Documented folder= behaviour contradicts implementations (of folders command)
The following issue has been UPDATED. == https://www.austingroupbugs.net/view.php?id=1306 == Reported By:steffen Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1306 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: Interpretation Required Name: Steffen Nurpmeso Organization: User Reference: Section:Vol. 3: Shell and Utilities, mailx Page Number:2951 Line Number:97809 Interp Status: Approved Final Accepted Text:See https://www.austingroupbugs.net/view.php?id=1306#c4716. == Date Submitted: 2019-12-16 22:38 UTC Last Modified: 2020-02-19 17:27 UTC == Summary:Documented folder= behaviour contradicts implementations (of folders command) == -- (0004785) ajosey (manager) - 2020-02-19 17:27 https://www.austingroupbugs.net/view.php?id=1306#c4785 -- Interpretation approved: 19 Feb 2020 Issue History Date ModifiedUsername FieldChange == 2019-12-16 22:38 steffenNew Issue 2019-12-16 22:38 steffenName => Steffen Nurpmeso 2019-12-16 22:38 steffenSection => Vol. 3: Shell and Utilities, mailx 2019-12-16 22:38 steffenPage Number => 2951 2019-12-16 22:38 steffenLine Number => 97809 2020-01-09 17:32 Don Cragun Interp Status => --- 2020-01-09 17:32 Don Cragun Note Added: 0004716 2020-01-09 17:32 Don Cragun Status New => Interpretation Required 2020-01-09 17:32 Don Cragun Resolution Open => Accepted 2020-01-09 17:33 Don Cragun Final Accepted Text => See https://www.austingroupbugs.net/view.php?id=1306#c4716. 2020-01-09 17:33 Don Cragun Tag Attached: tc3-2008 2020-01-10 17:43 agadminInterp Status--- => Proposed 2020-01-10 17:43 agadminNote Added: 0004717 2020-02-19 17:27 ajosey Interp StatusProposed => Approved 2020-02-19 17:27 ajosey Note Added: 0004785 ==
[1003.1(2016)/Issue7+TC2 0001306]: Documented folder= behaviour contradicts implementations (of folders command)
The following issue has been UPDATED. == http://austingroupbugs.net/view.php?id=1306 == Reported By:steffen Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1306 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: Interpretation Required Name: Steffen Nurpmeso Organization: User Reference: Section:Vol. 3: Shell and Utilities, mailx Page Number:2951 Line Number:97809 Interp Status: Proposed Final Accepted Text:See http://austingroupbugs.net/view.php?id=1306#c4716. == Date Submitted: 2019-12-16 22:38 UTC Last Modified: 2020-01-10 17:43 UTC == Summary:Documented folder= behaviour contradicts implementations (of folders command) == -- (0004717) agadmin (administrator) - 2020-01-10 17:43 http://austingroupbugs.net/view.php?id=1306#c4717 -- Interpretation proposed: 10 January 2020 Issue History Date ModifiedUsername FieldChange == 2019-12-16 22:38 steffenNew Issue 2019-12-16 22:38 steffenName => Steffen Nurpmeso 2019-12-16 22:38 steffenSection => Vol. 3: Shell and Utilities, mailx 2019-12-16 22:38 steffenPage Number => 2951 2019-12-16 22:38 steffenLine Number => 97809 2020-01-09 17:32 Don Cragun Interp Status => --- 2020-01-09 17:32 Don Cragun Note Added: 0004716 2020-01-09 17:32 Don Cragun Status New => Interpretation Required 2020-01-09 17:32 Don Cragun Resolution Open => Accepted 2020-01-09 17:33 Don Cragun Final Accepted Text => See http://austingroupbugs.net/view.php?id=1306#c4716. 2020-01-09 17:33 Don Cragun Tag Attached: tc3-2008 2020-01-10 17:43 agadminInterp Status--- => Proposed 2020-01-10 17:43 agadminNote Added: 0004717 ==
[1003.1(2016)/Issue7+TC2 0001306]: Documented folder= behaviour contradicts implementations (of folders command)
The following issue has been UPDATED. == http://austingroupbugs.net/view.php?id=1306 == Reported By:steffen Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1306 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: Interpretation Required Name: Steffen Nurpmeso Organization: User Reference: Section:Vol. 3: Shell and Utilities, mailx Page Number:2951 Line Number:97809 Interp Status: --- Final Accepted Text:See http://austingroupbugs.net/view.php?id=1306#c4716. == Date Submitted: 2019-12-16 22:38 UTC Last Modified: 2020-01-09 17:33 UTC == Summary:Documented folder= behaviour contradicts implementations (of folders command) == Issue History Date ModifiedUsername FieldChange == 2019-12-16 22:38 steffenNew Issue 2019-12-16 22:38 steffenName => Steffen Nurpmeso 2019-12-16 22:38 steffenSection => Vol. 3: Shell and Utilities, mailx 2019-12-16 22:38 steffenPage Number => 2951 2019-12-16 22:38 steffenLine Number => 97809 2020-01-09 17:32 Don Cragun Interp Status => --- 2020-01-09 17:32 Don Cragun Note Added: 0004716 2020-01-09 17:32 Don Cragun Status New => Interpretation Required 2020-01-09 17:32 Don Cragun Resolution Open => Accepted 2020-01-09 17:33 Don Cragun Final Accepted Text => See http://austingroupbugs.net/view.php?id=1306#c4716. ==
[1003.1(2016)/Issue7+TC2 0001306]: Documented folder= behaviour contradicts implementations (of folders command)
The following issue NEEDS AN INTERPRETATION. == http://austingroupbugs.net/view.php?id=1306 == Reported By:steffen Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1306 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: Interpretation Required Name: Steffen Nurpmeso Organization: User Reference: Section:Vol. 3: Shell and Utilities, mailx Page Number:2951 Line Number:97809 Interp Status: --- Final Accepted Text: == Date Submitted: 2019-12-16 22:38 UTC Last Modified: 2020-01-09 17:32 UTC == Summary:Documented folder= behaviour contradicts implementations (of folders command) == -- (0004716) Don Cragun (manager) - 2020-01-09 17:32 http://austingroupbugs.net/view.php?id=1306#c4716 -- Interpretation response The standard states that a null option-argument to the folders command must produce an error, and conforming implementations must conform to this. However, concerns have been raised about this which are being referred to the sponsor. Rationale: - This is not the way existing implementations behave. Notes to the Editor (not part of this interpretation): Make the changes suggested in the Desired Action. Issue History Date ModifiedUsername FieldChange == 2019-12-16 22:38 steffenNew Issue 2019-12-16 22:38 steffenName => Steffen Nurpmeso 2019-12-16 22:38 steffenSection => Vol. 3: Shell and Utilities, mailx 2019-12-16 22:38 steffenPage Number => 2951 2019-12-16 22:38 steffenLine Number => 97809 2020-01-09 17:32 Don Cragun Interp Status => --- 2020-01-09 17:32 Don Cragun Note Added: 0004716 2020-01-09 17:32 Don Cragun Status New => Interpretation Required 2020-01-09 17:32 Don Cragun Resolution Open => Accepted ==
[1003.1(2016)/Issue7+TC2 0001306]: Documented folder= behaviour contradicts implementations (of folders command)
The following issue has been SUBMITTED. == http://austingroupbugs.net/view.php?id=1306 == Reported By:steffen Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1306 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: New Name: Steffen Nurpmeso Organization: User Reference: Section:Vol. 3: Shell and Utilities, mailx Page Number:2951 Line Number:97809 Interp Status: --- Final Accepted Text: == Date Submitted: 2019-12-16 22:38 UTC Last Modified: 2019-12-16 22:38 UTC == Summary:Documented folder= behaviour contradicts implementations (of folders command) Description: POSIX documents If folder is unset or set to null, user-specified filenames beginning with '+' shall refer to files in the current directory that begin with the literal '+' character. This does not reflect behaviour of BSD Mail (since introduction in 1982-03-15), which simply calls getfold() of same commit, and here NOSTR is NULL indeed: + if (name[0] == '+' && getfold(cmdbuf) >= 0) { + sprintf(xname, "%s/%s", cmdbuf, name + 1); + return(expand(savestr(xname))); + } +getfold(name) + char *name; +{ + char *folder; + + if ((folder = value("folder")) == NOSTR) + return(-1); + if (*folder == '/') + strcpy(name, folder); + else + sprintf(name, "%s/%s", homedir, folder); + return(0); +} Unix V10 (V8 has not any of this) derives from the above, but .. maybe has had time pressure and did the false if (name[0] == '+') { cp = expand(++name); if (*cp != '/' && getfold(cmdbuf) >= 0) { sprintf(xname, "%s/%s", cmdbuf, cp); cp = savestr(xname); } if (debug) fprintf(stderr, "%s\n", cp); return cp; Since the folders command simply provides a listing of the directory represented by folder= a.k.a. getfold()>=0 (done like that by all), i see no ground for POSIX's "or set to null". Desired Action: On line 97814, change nofolder. If folder is unset or set to null, user-specified filenames to nofolder. If folder is unset, user-specified filenames == Issue History Date ModifiedUsername FieldChange == 2019-12-16 22:38 steffenNew Issue 2019-12-16 22:38 steffenName => Steffen Nurpmeso 2019-12-16 22:38 steffenSection => Vol. 3: Shell and Utilities, mailx 2019-12-16 22:38 steffenPage Number => 2951 2019-12-16 22:38 steffenLine Number => 97809 ==