Ticket #40738

Incorrect quote removal in arithmetic expansion

Open Date: 2020-09-15 22:25 Last Update: 2020-09-24 14:19

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

POSIX XCU 2.6.4:

The expression shall be treated as if it were in double-quotes, except that a double-quote inside the expression is not treated specially. The shell shall expand all tokens in the expression for parameter expansion, command substitution, and quote removal.

This means single- and double-quotes are not special and backslashes are not always special inside an arithmetic expansion.

Ticket History (2/2 Histories)

2020-09-15 22:25 Updated by: magicant
  • New Ticket "Incorrect quote removal in arithmetic expansion" created
2020-09-24 14:19 Updated by: magicant
  • Status Update from Open to Closed
  • Resolution Update from None to Fixed
Comment

Fixed in r4081

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login