[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug: illegal function name?
From: |
Andrey Butirsky |
Subject: |
Re: bug: illegal function name? |
Date: |
Sun, 20 Jan 2019 18:46:17 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Thunderbird/65.0 |
`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 <butirsky@gmail.com> wrote:
>>
>>> |$ unset 1a ||
>>> ||bash: unset: `1a': not a valid identifier
>> Use `unset -f'.
>>
>> Andreas.
>>
- bug: illegal function name?, Andrey Butirsky, 2019/01/20
- Re: bug: illegal function name?, Ilkka Virta, 2019/01/20
- Re: bug: illegal function name?, Chet Ramey, 2019/01/20
- Re: bug: illegal function name?, Eduardo A . Bustamante López, 2019/01/20
- Re: bug: illegal function name?, Andrey Butirsky, 2019/01/20
- Re: bug: illegal function name?, Eduardo Bustamante, 2019/01/20
- Re: bug: illegal function name?, Andrey Butirsky, 2019/01/20
- Re: bug: illegal function name?, Eduardo Bustamante, 2019/01/20