View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001052 | 1003.1(2013)/Issue7+TC1 | Shell and Utilities | public | 2016-05-08 08:34 | 2024-06-11 08:56 |
Reporter | dannyniu | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Omission |
Status | Closed | Resolution | Accepted As Marked | ||
Name | DannyNiu/NJF | ||||
Organization | |||||
User Reference | |||||
Section | XCU 2.6.2 Parameter Expansion | ||||
Page Number | 2329 | ||||
Line Number | 73982-73985 | ||||
Interp Status | --- | ||||
Final Accepted Text | 0001052:0003755 | ||||
Summary | 0001052: ${#var} should be decimal I presume. | ||||
Description | As described in the spec, ${#var} substitutes the string length of var in parameter expansion. It is unspecified however the representation of the length, leaving loopholes for constructs like: ( var=abcd ; [ ${#var} = 4 ] ) to have non-zero exit status on some implementations claiming conformance. | ||||
Desired Action | Change: The length in characters of the value of parameter shall be substituted. ... to: The length in characters, in its shortest decimal representation, of the value of paremeter shall be substituted. ... | ||||
Tags | tc3-2008 |
|
On 2016 edition Page 2350 Line 74874, 74877, 74881, 74883 section 2.5.2 Special Parameters, change:Expands to the decimal ...to: Expands to the shortest representation of the decimal ... On 2016 edition Page 2355 Line 75098 section 2.6.2, change: The length in characters of ...to: The shortest decimal representation of the length in characters of ... |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-05-08 08:34 | dannyniu | New Issue | |
2016-05-08 08:34 | dannyniu | Name | => DannyNiu/NJF |
2016-05-08 08:34 | dannyniu | Section | => XCU 2.6.2 Parameter Expansion |
2016-05-08 08:34 | dannyniu | Page Number | => 2329 |
2016-05-08 08:34 | dannyniu | Line Number | => 73982-73985 |
2017-06-08 15:24 | geoffclare | Note Added: 0003755 | |
2017-06-08 15:25 | geoffclare | Interp Status | => --- |
2017-06-08 15:25 | geoffclare | Final Accepted Text | => 0001052:0003755 |
2017-06-08 15:25 | geoffclare | Status | New => Resolved |
2017-06-08 15:25 | geoffclare | Resolution | Open => Accepted As Marked |
2017-06-08 15:25 | geoffclare | Tag Attached: tc3-2008 | |
2019-10-23 14:01 | geoffclare | Status | Resolved => Applied |
2024-06-11 08:56 | agadmin | Status | Applied => Closed |