Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001052 [1003.1(2013)/Issue7+TC1] Shell and Utilities Editorial Omission 2016-05-08 08:34 2019-10-23 14:01
Reporter dannyniu View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Applied  
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 Note: 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
Attached Files

- Relationships

-  Notes
(0003755)
geoffclare (manager)
2017-06-08 15:24

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 ...

- Issue History
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 => Note: 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker