Chet, the sample was run in normal, not POSIX, mode. So it allows '1a' but disallows '1'. Pretty odd.
On 20.01.2019 23:55, Chet Ramey wrote: > On 1/20/19 10:46 AM, Andrey Butirsky wrote: >> `1' is not a valid identifier, still: >> $ function 1 () { :; } >> bash: `1': not a valid identifier >> >> So that is pretty messy.. > In posix mode, bash restricts function names to be valid shell identifiers, > as the standard specifies. >