[1003.1(2016)/Issue7+TC2 0001154]: Add 'rm -v'
The following issue has been RESOLVED. == http://austingroupbugs.net/view.php?id=1154 == Reported By:jobsnijders Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1154 Category: Shell and Utilities Type: Enhancement Request Severity: Objection Priority: normal Status: Resolved Name: Job Snijders Organization: User Reference: Section:rm Page Number:3198-3202 Line Number:107289 Interp Status: --- Final Accepted Text:See http://austingroupbugs.net/view.php?id=1154#c4187. Resolution: Accepted As Marked Fixed in Version: == Date Submitted: 2017-06-25 15:58 UTC Last Modified: 2018-12-13 17:49 UTC == Summary:Add 'rm -v' == Issue History Date ModifiedUsername FieldChange == 2017-06-25 15:58 jobsnijdersNew Issue 2017-06-25 15:58 jobsnijdersName => Job Snijders 2017-06-25 15:58 jobsnijdersSection => rm 2017-06-25 15:58 jobsnijdersPage Number => 3198-3202 2017-06-25 15:58 jobsnijdersLine Number => 107289 2017-06-25 16:00 jobsnijdersIssue Monitored: jobsnijders 2017-06-25 16:05 jobsnijdersNote Added: 0003801 2017-06-25 17:37 kreNote Added: 0003802 2017-06-25 18:52 jobsnijdersNote Added: 0003803 2017-08-02 06:13 wahern Note Added: 0003812 2017-08-02 06:13 wahern Note Edited: 0003812 2017-08-02 06:13 wahern Note Edited: 0003812 2017-10-21 11:19 jobsnijdersNote Added: 0003866 2017-10-21 11:20 jobsnijdersNote Edited: 0003866 2017-10-21 11:22 jobsnijdersNote Added: 0003867 2017-10-23 21:23 nick Note Added: 0003868 2017-10-24 06:12 stephane Note Added: 0003869 2017-10-24 06:14 stephane Note Edited: 0003869 2018-12-13 17:46 Don Cragun Note Added: 0004187 2018-12-13 17:46 Don Cragun Note Edited: 0004187 2018-12-13 17:49 Don Cragun Interp Status => --- 2018-12-13 17:49 Don Cragun Final Accepted Text => See http://austingroupbugs.net/view.php?id=1154#c4187. 2018-12-13 17:49 Don Cragun Status New => Resolved 2018-12-13 17:49 Don Cragun Resolution Open => Accepted As Marked ==
[1003.1(2016)/Issue7+TC2 0001154]: Add 'rm -v'
A NOTE has been added to this issue. == http://austingroupbugs.net/view.php?id=1154 == Reported By:jobsnijders Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1154 Category: Shell and Utilities Type: Enhancement Request Severity: Objection Priority: normal Status: New Name: Job Snijders Organization: User Reference: Section:rm Page Number:3198-3202 Line Number:107289 Interp Status: --- Final Accepted Text: == Date Submitted: 2017-06-25 15:58 UTC Last Modified: 2018-12-13 17:46 UTC == Summary:Add 'rm -v' == -- (0004187) Don Cragun (manager) - 2018-12-13 17:46 http://austingroupbugs.net/view.php?id=1154#c4187 -- At page 3198 line 107245 [rm SYNOPSIS], change: rm [−iRr] file... rm -f [-iRr] [file...]/blockquote to: rm [−iRrv] file... rm -f [-iRrv] [file...] At line 107284 [DESCRIPTION], change: If this fails for any reason, rm shall write a diagnostic message to standard error, do nothing more with the current file, and go on to any remaining files. to: If rm successfully performed the above actions on the current file, and the -v option is specified, rm shall write a message containing the pathname of the current file to the standard output. If the actions fail for any reason, rm shall write a diagnostic message to standard error, do nothing more with the current file, and go on to any remaining files. After line 107298 [OPTIONS], insert a new paragraph: -vAfter file has been removed, write a message to standard output indicating that it has been removed. Change STDOUT section (page 3200 line 107331 from None. to: If the -v option is specified, information about the file being removed shall be written to standard output in an unspecified format. After line 107404 [RATIONALE], add a paragraph: The addition of the −v option allows a user of rm to see which files have been deleted. Issue History Date ModifiedUsername FieldChange == 2017-06-25 15:58 jobsnijdersNew Issue 2017-06-25 15:58 jobsnijdersName => Job Snijders 2017-06-25 15:58 jobsnijdersSection => rm 2017-06-25 15:58 jobsnijdersPage Number => 3198-3202 2017-06-25 15:58 jobsnijdersLine Number => 107289 2017-06-25 16:00 jobsnijdersIssue Monitored: jobsnijders 2017-06-25 16:05 jobsnijdersNote Added: 0003801 2017-06-25 17:37 kreNote Added: 0003802 2017-06-25 18:52 jobsnijdersNote Added: 0003803 2017-08-02 06:13 wahern Note Added: 0003812 2017-08-02 06:13 wahern Note Edited: 0003812 2017-08-02 06:13 wahern Note Edited: 0003812 2017-10-21 11:19 jobsnijdersNote Added: 0003866 2017-10-21 11:20 jobsnijdersNote Edited: 0003866 2017-10-21 11:22 jobsnijdersNote Added: 0003867 2017-10-23 21:23 nick Note Added: 0003868 2017-10-24 06:12 stephane Note Added: 0003869 2017-10-24 06:14 stephane Note Edited: 0003869 2018-12-13 17:46 Don Cragun Note Added: 0004187 ==
[1003.1(2008)/Issue 7 0001153]: fread/fwrite to/from buffer underlying the memory stream
The following issue has been UPDATED. == http://austingroupbugs.net/view.php?id=1153 == Reported By:Villemoes Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 1153 Category: System Interfaces Type: Clarification Requested Severity: Editorial Priority: normal Status: Resolved Name: Rasmus Villemoes Organization: User Reference: Section:fmemopen Page Number: Line Number: Interp Status: --- Final Accepted Text:See http://austingroupbugs.net/view.php?id=1153#c4186 Resolution: Accepted As Marked Fixed in Version: == Date Submitted: 2017-06-22 08:02 UTC Last Modified: 2018-12-13 17:00 UTC == Summary:fread/fwrite to/from buffer underlying the memory stream == Issue History Date ModifiedUsername FieldChange == 2017-06-22 08:02 Villemoes New Issue 2017-06-22 08:02 Villemoes Status New => Under Review 2017-06-22 08:02 Villemoes Assigned To => ajosey 2017-06-22 08:02 Villemoes Name => Rasmus Villemoes 2017-06-22 08:02 Villemoes Section => fmemopen 2018-12-13 16:59 nick Note Added: 0004186 2018-12-13 17:00 nick Interp Status => --- 2018-12-13 17:00 nick Status Under Review => Resolved 2018-12-13 17:00 nick Resolution Open => Accepted As Marked 2018-12-13 17:00 nick Final Accepted Text => See http://austingroupbugs.net/view.php?id=1153#c4186 ==
[1003.1(2008)/Issue 7 0001153]: fread/fwrite to/from buffer underlying the memory stream
The following issue has been RESOLVED. == http://austingroupbugs.net/view.php?id=1153 == Reported By:Villemoes Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 1153 Category: System Interfaces Type: Clarification Requested Severity: Editorial Priority: normal Status: Resolved Name: Rasmus Villemoes Organization: User Reference: Section:fmemopen Page Number: Line Number: Interp Status: --- Final Accepted Text: Resolution: Accepted As Marked Fixed in Version: == Date Submitted: 2017-06-22 08:02 UTC Last Modified: 2018-12-13 17:00 UTC == Summary:fread/fwrite to/from buffer underlying the memory stream == Issue History Date ModifiedUsername FieldChange == 2017-06-22 08:02 Villemoes New Issue 2017-06-22 08:02 Villemoes Status New => Under Review 2017-06-22 08:02 Villemoes Assigned To => ajosey 2017-06-22 08:02 Villemoes Name => Rasmus Villemoes 2017-06-22 08:02 Villemoes Section => fmemopen 2018-12-13 16:59 nick Note Added: 0004186 2018-12-13 17:00 nick Interp Status => --- 2018-12-13 17:00 nick Status Under Review => Resolved 2018-12-13 17:00 nick Resolution Open => Accepted As Marked ==
[1003.1(2008)/Issue 7 0001153]: fread/fwrite to/from buffer underlying the memory stream
A NOTE has been added to this issue. == http://austingroupbugs.net/view.php?id=1153 == Reported By:Villemoes Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 1153 Category: System Interfaces Type: Clarification Requested Severity: Editorial Priority: normal Status: Under Review Name: Rasmus Villemoes Organization: User Reference: Section:fmemopen Page Number: Line Number: Interp Status: --- Final Accepted Text: == Date Submitted: 2017-06-22 08:02 UTC Last Modified: 2018-12-13 16:59 UTC == Summary:fread/fwrite to/from buffer underlying the memory stream == -- (0004186) nick (manager) - 2018-12-13 16:59 http://austingroupbugs.net/view.php?id=1153#c4186 -- Add a new paragraph (CX shaded) to page 496 line 17237 section 2.5: When a standard I/O stream has an associated memory buffer (whether allocated internally, supplied to setvbuf(), or supplied to fmemopen()), the behavior is undefined if that buffer overlaps with the destination buffer passed to a call that reads from the stream or with the source buffer passed to a call that writes to the stream. Issue History Date ModifiedUsername FieldChange == 2017-06-22 08:02 Villemoes New Issue 2017-06-22 08:02 Villemoes Status New => Under Review 2017-06-22 08:02 Villemoes Assigned To => ajosey 2017-06-22 08:02 Villemoes Name => Rasmus Villemoes 2017-06-22 08:02 Villemoes Section => fmemopen 2018-12-13 16:59 nick Note Added: 0004186 ==
[1003.1(2008)/Issue 7 0001152]: Effect of modifications to buffer underlying a memory stream
The following issue has been set as DUPLICATE OF issue 0001144. == http://austingroupbugs.net/view.php?id=1152 == Reported By:Villemoes Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 1152 Category: System Interfaces Type: Clarification Requested Severity: Editorial Priority: normal Status: Closed Name: Rasmus Villemoes Organization: User Reference: Section:fmemopen Page Number: Line Number: Interp Status: --- Final Accepted Text: Resolution: Duplicate Duplicate: 0 Fixed in Version: == Date Submitted: 2017-06-22 07:50 UTC Last Modified: 2018-12-13 16:35 UTC == Summary:Effect of modifications to buffer underlying a memory stream == Relationships ID Summary -- duplicate of0001144 May fmemopen(buf, len, r) m... == Issue History Date ModifiedUsername FieldChange == 2017-06-22 07:50 Villemoes New Issue 2017-06-22 07:50 Villemoes Status New => Under Review 2017-06-22 07:50 Villemoes Assigned To => ajosey 2017-06-22 07:50 Villemoes Name => Rasmus Villemoes 2017-06-22 07:50 Villemoes Section => fmemopen 2018-12-13 16:34 geoffclare Interp Status => --- 2018-12-13 16:34 geoffclare Note Added: 0004185 2018-12-13 16:34 geoffclare Status Under Review => Closed 2018-12-13 16:34 geoffclare Resolution Open => Duplicate 2018-12-13 16:35 geoffclare Relationship added duplicate of 0001144 ==
[1003.1(2008)/Issue 7 0001144]: May fmemopen(buf, len, "r") modify the buffer
The issue 0001152 has been set as DUPLICATE OF the following issue. == http://austingroupbugs.net/view.php?id=1144 == Reported By:Villemoes Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 1144 Category: System Interfaces Type: Clarification Requested Severity: Editorial Priority: normal Status: Resolved Name: Rasmus Villemoes Organization: User Reference: Section:fmemopen Page Number: Line Number: Interp Status: --- Final Accepted Text:http://austingroupbugs.net/view.php?id=1144#c4169 Resolution: Accepted As Marked Fixed in Version: == Date Submitted: 2017-06-14 14:31 UTC Last Modified: 2018-11-15 17:35 UTC == Summary:May fmemopen(buf, len, "r") modify the buffer == Relationships ID Summary -- has duplicate 0001152 Effect of modifications to buffer under... == Issue History Date ModifiedUsername FieldChange == 2017-06-14 14:31 Villemoes New Issue 2017-06-14 14:31 Villemoes Status New => Under Review 2017-06-14 14:31 Villemoes Assigned To => ajosey 2017-06-14 14:31 Villemoes Name => Rasmus Villemoes 2017-06-14 14:31 Villemoes Section => fmemopen 2017-06-14 16:41 shware_systems Note Added: 0003761 2017-06-14 19:35 Villemoes Note Added: 0003762 2017-06-14 23:06 shware_systems Note Added: 0003763 2017-06-14 23:14 shware_systems Note Edited: 0003763 2017-06-22 07:23 Villemoes Note Added: 0003796 2018-11-15 17:33 geoffclare Note Added: 0004169 2018-11-15 17:35 geoffclare Interp Status => --- 2018-11-15 17:35 geoffclare Final Accepted Text => http://austingroupbugs.net/view.php?id=1144#c4169 2018-11-15 17:35 geoffclare Status Under Review => Resolved 2018-11-15 17:35 geoffclare Resolution Open => Accepted As Marked 2018-11-15 17:35 geoffclare Tag Attached: tc3-2008 2018-11-15 17:37 geoffclare Note Edited: 0004169 2018-12-13 16:35 geoffclare Relationship added has duplicate 0001152 ==
[1003.1(2008)/Issue 7 0001152]: Effect of modifications to buffer underlying a memory stream
The following issue has been CLOSED. == http://austingroupbugs.net/view.php?id=1152 == Reported By:Villemoes Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 1152 Category: System Interfaces Type: Clarification Requested Severity: Editorial Priority: normal Status: Closed Name: Rasmus Villemoes Organization: User Reference: Section:fmemopen Page Number: Line Number: Interp Status: --- Final Accepted Text: Resolution: Duplicate Duplicate: 0 Fixed in Version: == Date Submitted: 2017-06-22 07:50 UTC Last Modified: 2018-12-13 16:34 UTC == Summary:Effect of modifications to buffer underlying a memory stream == -- (0004185) geoffclare (manager) - 2018-12-13 16:34 http://austingroupbugs.net/view.php?id=1152#c4185 -- We believe the changes made in the resolution of http://austingroupbugs.net/view.php?id=1144 also resolve this issue. Therefore this is being closed as a duplicate of bug 1144. Issue History Date ModifiedUsername FieldChange == 2017-06-22 07:50 Villemoes New Issue 2017-06-22 07:50 Villemoes Status New => Under Review 2017-06-22 07:50 Villemoes Assigned To => ajosey 2017-06-22 07:50 Villemoes Name => Rasmus Villemoes 2017-06-22 07:50 Villemoes Section => fmemopen 2018-12-13 16:34 geoffclare Interp Status => --- 2018-12-13 16:34 geoffclare Note Added: 0004185 2018-12-13 16:34 geoffclare Status Under Review => Closed 2018-12-13 16:34 geoffclare Resolution Open => Duplicate ==
[1003.1(2016)/Issue7+TC2 0001150]: exit status of command substitution not properly specified
The following issue NEEDS AN INTERPRETATION. == http://austingroupbugs.net/view.php?id=1150 == Reported By:kre Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1150 Category: Shell and Utilities Type: Omission Severity: Editorial Priority: normal Status: Interpretation Required Name: Robert Elz Organization: User Reference: Section:2.6.3 Page Number:2357 - 2358 Line Number:75182 - 75224 Interp Status: Pending Final Accepted Text:http://austingroupbugs.net/view.php?id=1150#c4184 == Date Submitted: 2017-06-16 01:33 UTC Last Modified: 2018-12-13 16:25 UTC == Summary:exit status of command substitution not properly specified == Issue History Date ModifiedUsername FieldChange == 2017-06-16 01:33 kreNew Issue 2017-06-16 01:33 kreName => Robert Elz 2017-06-16 01:33 kreSection => 2.6.3 2017-06-16 01:33 krePage Number => 2357 - 2358 2017-06-16 01:33 kreLine Number => 75182 - 75224 2017-06-16 01:46 kreNote Added: 0003766 2017-06-16 06:10 stephane Note Added: 0003767 2017-06-16 09:38 joerg Note Added: 0003768 2017-06-16 09:54 joerg Note Added: 0003769 2017-06-16 10:06 kreNote Added: 0003770 2017-06-16 10:16 joerg Note Added: 0003771 2017-06-16 10:21 joerg Note Edited: 0003771 2017-06-16 11:07 kreNote Added: 0003772 2017-06-16 15:38 stephane Note Added: 0003773 2017-06-16 15:52 joerg Note Added: 0003774 2017-06-16 15:59 joerg Note Edited: 0003774 2017-06-16 16:05 stephane Note Added: 0003775 2017-06-16 16:19 kreNote Added: 0003776 2017-06-16 16:33 shware_systems Note Added: 0003777 2017-06-16 16:35 kreNote Added: 0003778 2017-06-16 16:40 kreNote Added: 0003779 2017-06-16 16:43 kreNote Edited: 0003779 2017-06-16 16:45 joerg Note Added: 0003780 2017-06-16 16:45 joerg Note Edited: 0003780 2017-06-17 07:51 shware_systems Note Added: 0003781 2017-06-17 08:31 kreNote Added: 0003782 2018-03-09 22:55 stephane Note Added: 0003936 2018-12-11 10:09 kreNote Added: 0004176 2018-12-11 12:49 joerg Note Added: 0004177 2018-12-11 12:50 joerg Note Edited: 0004177 2018-12-11 14:52 chet_ramey Note Added: 0004178 2018-12-11 15:38 chet_ramey Note Added: 0004179 2018-12-11 16:25 kreNote Added: 0004180 2018-12-11 16:33 chet_ramey Note Added: 0004181 2018-12-13 16:24 geoffclare Note Added: 0004184 2018-12-13 16:25 geoffclare Interp Status => Pending 2018-12-13 16:25 geoffclare Final Accepted Text => http://austingroupbugs.net/view.php?id=1150#c4184 2018-12-13 16:25 geoffclare Status New => Interpretation Required 2018-12-13 16:25 geoffclare Resolution Open => Accepted As Marked ==
[1003.1(2016)/Issue7+TC2 0001150]: exit status of command substitution not properly specified
A NOTE has been added to this issue. == http://austingroupbugs.net/view.php?id=1150 == Reported By:kre Assigned To: == Project:1003.1(2016)/Issue7+TC2 Issue ID: 1150 Category: Shell and Utilities Type: Omission Severity: Editorial Priority: normal Status: New Name: Robert Elz Organization: User Reference: Section:2.6.3 Page Number:2357 - 2358 Line Number:75182 - 75224 Interp Status: --- Final Accepted Text: == Date Submitted: 2017-06-16 01:33 UTC Last Modified: 2018-12-13 16:24 UTC == Summary:exit status of command substitution not properly specified == -- (0004184) geoffclare (manager) - 2018-12-13 16:24 http://austingroupbugs.net/view.php?id=1150#c4184 -- Interpretation response The standard is unclear on this issue, and no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor. Rationale: - None. Notes to the Editor (not part of this interpretation): --- On page 2350 line 74877 section 2.5.2, change:Expands to the decimal exit status of the most recent pipeline (see [xref to 2.9.2]).to:Expands to the decimal exit status of the most recent pipeline (see [xref to 2.9.2]) that was not within a command substitution (see [xref to 2.6.3]). Note: In var=$(some_command); echo $? the output is the exit status of some_command but this is because its exit status becomes the exit status of the assignment command var=$(some_command) (see [xref to 2.9.1]) and this assignment command is the most recent pipeline. On page 2366 line 75543 section 2.9.1, change:with the exit status of the last command substitution performedto:with the exit status of the command substitution whose exit status was the last to be obtained On page 2410 line 77132 section 2.14 set, change:The failure of any individual command in a multi-command pipeline shall not cause the shell to exit. Only the failure of the pipeline itself shall be considered.to:The failure of any individual command in a multi-command pipeline, or of any subshell environments in which command substitution was performed during word expansion, shall not cause the shell to exit. Only the failure of the pipeline itself shall be considered. On page 2410 line 77145 section 2.14 set, add:In set -e; echo $(false; echo one) two the false command causes the subshell in which the command substitution is performed to exit without executing echo one; the exit status of the subshell is ignored and the shell then executes the word-expanded command echo two. Issue History Date ModifiedUsername FieldChange == 2017-06-16 01:33 kreNew Issue 2017-06-16 01:33 kreName => Robert Elz 2017-06-16 01:33 kreSection => 2.6.3 2017-06-16 01:33 krePage Number => 2357 - 2358 2017-06-16 01:33 kreLine Number => 75182 - 75224 2017-06-16 01:46 kreNote Added: 0003766 2017-06-16 06:10 stephane Note Added: 0003767 2017-06-16 09:38 joerg Note Added: 0003768 2017-06-16 09:54 joerg Note Added: 0003769 2017-06-16 10:06 kreNote Added: 0003770 2017-06-16 10:16 joerg Note Added: 0003771 2017-06-16 10:21 joerg Note Edited: 0003771 2017-06-16 11:07 kreNote Added: 0003772 2017-06-16 15:38 stephane Note Added: 0003773 2017-06-16 15:52 joerg Note Added: 0003774 2017-06-16 15:59 joerg Note Edited: 0003774 2017-06-16 16:05 stephane Note Added: 0003775 2017-06-16 16:19 kre
Re: [1003.1(2016)/Issue7+TC2 0001150]: exit status of command substitution not properly specified
Robert Elz wrote, on 12 Dec 2018: > > Date:Tue, 11 Dec 2018 16:33:39 + > From:Austin Group Bug Tracker > Message-ID: <83857fbeb34fcb776e74f9e733705...@austingroupbugs.net> > > > | But they're not performed by the same execution environment. > | > | From the perspective of the assignment statement, there is only one > command > | substitution. Maybe that's the assumption that needs to be cleaned up. > > Perhaps. Currently the spec is juist "the last command substitution > performed" - not wrt anything in particular's perspective. The inner > ones have to be performed too. > > Whatever is fixed, something needs to be. How about changing: with the exit status of the last command substitution performed to: with the exit status of the command substitution whose exit status was the last to be obtained -- Geoff Clare The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England