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
0001277 [1003.1(2016/18)/Issue7+TC2] Shell and Utilities Editorial Error 2019-07-31 14:33 2024-06-11 09:08
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Accepted  
Status Closed  
Name Geoff Clare
Organization The Open Group
User Reference
Section awk
Page Number 2491
Line Number 80131
Interp Status ---
Final Accepted Text
Summary 0001277: Use of <slash> in an ERE in awk
Description The standard says:

    Using a <slash> character within an ERE requires the escaping
    shown in the following table.

but this is only true when the ERE is in the lexical token ERE.
In an ERE in a string, the opposite is true: escaping must not be used.
(The resolution of bug 0001105 clarifies this by making the meaning
of <backslash><slash> in an ERE in a string undefined.)
Desired Action Change:
Using a <slash> character within an ERE requires the escaping shown in the following table.
Using a <slash> character within the lexical token ERE (except as one of the two delimiters) requires the escaping shown in the following table.
Tags tc3-2008
Attached Files

- Relationships
related to 0001105Closed problems with backslashes in awk strings and EREs 

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-07-31 14:33 geoffclare New Issue
2019-07-31 14:33 geoffclare Name => Geoff Clare
2019-07-31 14:33 geoffclare Organization => The Open Group
2019-07-31 14:33 geoffclare Section => awk
2019-07-31 14:33 geoffclare Page Number => 2491
2019-07-31 14:33 geoffclare Line Number => 80131
2019-07-31 14:33 geoffclare Interp Status => ---
2019-07-31 14:34 geoffclare Relationship added related to 0001105
2019-08-22 15:39 Don Cragun Status New => Resolved
2019-08-22 15:39 Don Cragun Resolution Open => Accepted
2019-08-22 15:40 Don Cragun Tag Attached: tc3-2008
2019-11-20 16:17 geoffclare Status Resolved => Applied
2024-06-11 09:08 agadmin Status Applied => Closed

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