7 Bug-Reported-by: opengeometry@yahoo.ca
8 Bug-Reference-ID: <200410202012.i9KKCTEB001860@node1.opengeometry.net>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-10/msg00297.html
13 Shell variable can start with number and can even be printed with
19 But, they can't be removed, as in
20 unset 1 1a --> ...: not a valid identifier
22 Bash-2.05b correctly gives me error, however.
26 *** ../bash-3.0-patched/general.c Wed Apr 14 23:20:13 2004
27 --- general.c Wed Oct 20 16:59:59 2004
31 #if defined (ARRAY_VARS)
32 ! if ((legal_variable_starter (c) == 0) && (flags && c != '[')) /* ] */
34 if (legal_variable_starter (c) == 0)
37 #if defined (ARRAY_VARS)
38 ! if ((legal_variable_starter (c) == 0) && (flags == 0 || c != '[')) /* ] */
40 if (legal_variable_starter (c) == 0)
42 *** ../bash-3.0/patchlevel.h Wed Aug 22 08:05:39 2001
43 --- patchlevel.h Thu Sep 2 15:04:32 2004
46 looks for to find the patch level (for the sccs version string). */
48 ! #define PATCHLEVEL 14
50 #endif /* _PATCHLEVEL_H_ */
52 looks for to find the patch level (for the sccs version string). */
54 ! #define PATCHLEVEL 15
56 #endif /* _PATCHLEVEL_H_ */