`1' is not a valid identifier, still: $ function 1 () { :; } bash: `1': not a valid identifier
So that is pretty messy.. Bug report: https://savannah.gnu.org/support/?109632 On 20.01.2019 18:26, Andrey Butirsky wrote: > Andreas, I know it will work with the '-f' flag. > But for others function names, the '-f' unset flag is not required. > Moreover, it seem confronts with Open Group Base Specification. > So I consider it as a bug still. > > On 20.01.2019 18:18, Andreas Schwab wrote: >> On Jan 20 2019, Andrey Butirsky <butir...@gmail.com> wrote: >> >>> |$ unset 1a || >>> ||bash: unset: `1a': not a valid identifier >> Use `unset -f'. >> >> Andreas. >>