Ticket #39278

${00} should be reported as error

Open Date: 2019-06-01 22:21 Last Update: 2019-06-05 22:28

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

Details

${00} is not the 0 special parameter nor a valid positional parameter. It should be reported.

Ticket History (3/3 Histories)

2019-06-01 22:21 Updated by: magicant
  • New Ticket "${00} should be reported as error" created
2019-06-01 22:53 Updated by: magicant
Comment

On second thoughts, I'm thinking ${00} should be treated as an non-existing positional parameter. Yash is behaving correctly on the basis of it.

2019-06-05 22:28 Updated by: magicant
Comment

Maybe ${00} could be treated as ${0} when the POSIXly-correct mode is off?

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