Anonymous | Login | 2024-10-15 00:40 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0001451 | [Issue 8 drafts] Shell and Utilities | Comment | Clarification Requested | 2021-02-11 11:07 | 2024-06-11 09:12 | ||
Reporter | geoffclare | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | Product Version | Draft 1.1 | ||||
Name | Geoff Clare | ||||||
Organization | The Open Group | ||||||
User Reference | |||||||
Section | awk | ||||||
Page Number | 2395 | ||||||
Line Number | 78089 | ||||||
Final Accepted Text | Note: 0005351 | ||||||
Summary | 0001451: awk ARGV description addition about -v is problematic | ||||||
Description |
Bug 0000974 added notes to the descriptions of ARGC and ARGV saying it is unspecified whether alterations to ARGC and to elements of ARGV can be made using the -v option. The one for ARGC is fine, but the one for ARGV is problematic. This is because the standard places a requirement on applications to ensure that the -v option-argument has a variable name to the left of the '='. Thus it cannot be used to assign values to array elements. Note that since bug 974 was tagged tc3-2008, this bug should also be tagged tc3-2008 despite being reported against Issue 8 draft 1.1. |
||||||
Desired Action |
Change:It is unspecified whether this alteration to ARGV can be made using the -v option.to: Note that this alteration cannot be made using either the assignment operand or the -v option, because an operand with a '[' before '=' is treated as a file operand, not an assignment operand, and applications are required to ensure that the -v option-argument has the same form as an assignment operand. (See the OPTIONS and OPERANDS sections.) |
||||||
Tags | issue8 | ||||||
Attached Files | |||||||
|
Relationships | |||||||
|
Notes | |
(0005231) geoffclare (manager) 2021-02-11 11:08 |
Credit to Arnold Robbins for catching this. |
(0005351) rhansen (manager) 2021-05-06 15:18 |
Change:It is unspecified whether this alteration to ARGV can be made using the -v option.to: Note that alterations to ARGV cannot be made using either the assignment operand or the -v option, because an operand with a '[' before '=' is treated as a file operand, not an assignment operand, and applications are required to ensure that the -v option-argument has the same form as an assignment operand. (See the OPTIONS and OPERANDS sections.) |
(0005352) nick (manager) 2021-05-06 15:21 |
Note tagged as issue 8 since 0000974 is an approved interpretation |
Issue History | |||
Date Modified | Username | Field | Change |
2021-02-11 11:07 | geoffclare | New Issue | |
2021-02-11 11:07 | geoffclare | Name | => Geoff Clare |
2021-02-11 11:07 | geoffclare | Organization | => The Open Group |
2021-02-11 11:07 | geoffclare | Section | => awk |
2021-02-11 11:07 | geoffclare | Page Number | => 2395 |
2021-02-11 11:07 | geoffclare | Line Number | => 78089 |
2021-02-11 11:08 | geoffclare | Note Added: 0005231 | |
2021-05-06 15:10 | nick | Relationship added | related to 0000974 |
2021-05-06 15:18 | rhansen | Note Added: 0005351 | |
2021-05-06 15:19 | rhansen | Final Accepted Text | => Note: 0005351 |
2021-05-06 15:19 | rhansen | Status | New => Resolved |
2021-05-06 15:19 | rhansen | Resolution | Open => Accepted As Marked |
2021-05-06 15:20 | rhansen | Tag Attached: issue8 | |
2021-05-06 15:21 | nick | Note Added: 0005352 | |
2021-05-11 09:38 | geoffclare | Status | Resolved => Applied |
2024-06-11 09:12 | agadmin | Status | Applied => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |