[Bug 10231] /bin/sh not handling some environment variable
bugzilla at busybox.net
bugzilla at busybox.net
Thu Aug 24 15:53:43 UTC 2017
https://bugs.busybox.net/show_bug.cgi?id=10231
--- Comment #3 from Ron Yorston <rmy at pobox.com> ---
Environment variables are defined here:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08
Environment variable names can contain pretty much anything apart from '='.
However, shell variable ('parameter') names are much more restricted. Section
2.3.2 of this document covers parameter expansion:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
and points to the definition of an 'XBD Name':
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_235
where an 'XBD Name' is defined as:
In the shell command language, a word consisting solely of underscores, digits,
and alphabetics from the portable character set. The first character of a name
is not a digit.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list