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
0000049 [1003.1(2008)/Issue 7] Shell and Utilities Editorial Error 2009-06-25 12:42 2013-04-16 13:06
Reporter geoffclare View Status public  
Assigned To ajosey
Priority normal Resolution Accepted  
Status Closed  
Name Geoff Clare
Organization The Open Group
User Reference
Section 2.6
Page Number 2305
Line Number 72699
Interp Status ---
Final Accepted Text
Summary 0000049: Word Expansion text not clear
Description 2.6 Word Expansions says:

    If an unquoted '$' is followed by a character that is either not
    numeric, the name of one of the special parameters (see Section
    2.5.2, on page 2302), a valid first character of a variable name,
    a <left-curly-bracket> ('{') or a <left-parenthesis>, the result
    is unspecified.

Obviously the intention is that the "not" should negate all of the
listed types of characters, but that is not how the sentence reads
to me.

It could perhaps be fixed by changing "either not" to "not either",
but the wording would still be somewhat awkward. The action
proposed below is a more extensive rewording that hopefully is
much clearer.
Desired Action Change:

    If an unquoted '$' is followed by a character that is either not
    numeric, the name of one of the special parameters (see Section
    2.5.2, on page 2302), a valid first character of a variable name,
    a <left-curly-bracket> ('{') or a <left-parenthesis>, the result
    is unspecified.

to:

    If an unquoted '$' is followed by a character that is not one of
    the following:

      * a numeric character

      * the name of one of the special parameters (see Section 2.5.2,
        on page 2302)

      * a valid first character of a variable name

      * a <left-curly-bracket> ('{')

      * a <left-parenthesis>

    the result is unspecified.
Tags tc1-2008
Attached Files

- Relationships

-  Notes
(0000087)
Don Cragun (manager)
2009-06-25 12:46
edited on: 2009-06-26 06:31

Originally reported by gwc:xxxxxxxxxxxxx
Thu, 19 Feb 2009 15:11:10 +0000
with Subject: Defect in XCU 2.6

Transcribed by Don Cragun from xcubug3.txt ERN 5

Submitter tag "gwc word expansions $"


- Issue History
Date Modified Username Field Change
2009-06-25 12:42 Don Cragun New Issue
2009-06-25 12:42 Don Cragun Status New => Under Review
2009-06-25 12:42 Don Cragun Assigned To => ajosey
2009-06-25 12:42 Don Cragun Name => Geoff Clare
2009-06-25 12:42 Don Cragun Organization => The Open Group
2009-06-25 12:42 Don Cragun Section => 2.6
2009-06-25 12:42 Don Cragun Page Number => 2305
2009-06-25 12:42 Don Cragun Line Number => 72699
2009-06-25 12:46 Don Cragun Note Added: 0000087
2009-06-25 12:46 Don Cragun Reporter Don Cragun => geoffclare
2009-06-25 12:46 Don Cragun Status Under Review => Resolved
2009-06-25 12:46 Don Cragun Resolution Open => Accepted
2009-06-25 16:38 Don Cragun Tag Attached: real bug in aardvark
2009-06-26 06:31 Don Cragun Note Edited: 0000087
2009-07-30 16:06 msbrown Tag Detached: real bug in aardvark
2010-08-19 16:50 ajosey Tag Attached: tc1
2010-08-27 10:36 ajosey Tag Renamed tc1 => tc1-2008
2013-04-16 13:06 ajosey Status Resolved => Closed


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