Re: export -p may output invalid variables

2008-05-10 Thread Chet Ramey
Stephane Chazelas wrote: Bash Version: 3.2 Patch Level: 33 Release Status: release Description: ~$ env -i '1=a' sh -c 'export -p' export 1=a export OLDPWD export PWD=/home/chazelas export SHLVL=1 ~$ env -i '1=a' bash -c 'export -p' declare -x 1=a declare -x OLDPWD declare -x

export -p may output invalid variables

2008-05-09 Thread Stephane Chazelas
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale'