Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14905 > unrolled thread
| Started by | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| First post | 2018-12-11 15:07 -0500 |
| Last post | 2018-12-11 15:07 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: temp env allows variables that look like array subscripts Chet Ramey <chet.ramey@case.edu> - 2018-12-11 15:07 -0500
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Date | 2018-12-11 15:07 -0500 |
| Subject | Re: temp env allows variables that look like array subscripts |
| Message-ID | <mailman.5603.1544558876.1284.bug-bash@gnu.org> |
On 12/8/18 11:45 PM, Grisha Levit wrote: > FWIW, namerefs in the temporary environment bypass the implemented checks: > > $ declare -n ref=var[0] > $ ref=X printenv 'var[0]' > X Thanks for the report. We should follow namerefs, but in this case not allow nameref values that aren't valid shell identifiers. I will fix this for the next devel branch push. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to top | Article view | gnu.bash.bug
csiph-web