[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gawk] Access variables not conforming to the variable naming conven
From: |
Peng Yu |
Subject: |
[bug-gawk] Access variables not conforming to the variable naming convention? |
Date: |
Wed, 28 Nov 2018 16:11:46 -0600 |
Hi,
I see that you gawk allows things like "f oo" in SYMTAB. I am not sure
whether it is a good idea to allow such variable name as it clearly
not conforming to the variable naming convention. Maybe it should be
disallowed. If it does have to allow such kind of variable names,
given SYMTAB is too slow, may be a way to refer in the normal but fast
way should be provided? Thanks.
$ awk -e 'BEGIN { SYMTAB["f oo"] = "1"; print SYMTAB["f oo"] }'
1
--
Regards,
Peng
- [bug-gawk] Access variables not conforming to the variable naming convention?,
Peng Yu <=