Defect Report concerning: IEEE Std. 1003.2-1992, ISO/IEC 9945-2:1993 - Shell & Utilities
Clause: 5.10.7.4
PASC Interpretation Ref: pasc-1003.2-31
Topic: ex - replacement strings


This is an unapproved interpretation of PASC 1003.2-1992, ISO/IEC 9945-2:1993 - Shell & Utilities.

Use of the information contained in this unapproved document is at your own risk.

Last update: 20 April,2001


								1003.2-92  #31

 _____________________________________________________________________________


	Interpretation Number:	XXXX
	Topic:			ex - replacement strings
	Relevant Sections:	5.10.7.4
	Classification:		Defect


Interpretation Request: (Defect Report)
-----------------------

Reference: Page 535, Section 5.10.7.4, "Replacement Strings".

Historically, the upper and lower case manipulations occurred
on all characters in the replacement strings, not just those
inserted using \n or \[1-9].  Was it the intent of the standard
to change historical practice?  If not, I'd suggest the following
wording:

    The strings \l, \u, \L, and \U can be used to modify the case of
    elements in the replacement string.  The string \l (\u) shall cause
    the character that follows to be converted to lowercase (uppercase).
    The strings \L (\U) shall cause all characters subsequent to them
    to be converted to lowercase (uppercase) until the string \e or \E,
    or the end of the replacement string, is encountered.

(Keith Bostic)	

IEEE Interpretation for 1003.2-1992 
-----------------------------------
        The standard is specific in its requirement that \l, \u ,\L, and
        \U  should only modify the case of elements using & and \digit.

        Concerns about the wording of this part of the standard have
        been forwarded to the sponsor.

Rationale for Interpretation:
-----------------------------

None.


Editorial note for future revision of standard (not part of this interpretation)
-------------------------------------------------------------------------------
Consider taken the above proposed change to the section 5.10.7.4 ex Replacement Strings.

NOTE: There is no certainty that these comments will apply to any
revision of IEEE Std 1003.2-1992.
 _____________________________________________________________________________