help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Valid characters for function names


From: Chet Ramey
Subject: Re: Valid characters for function names
Date: Mon, 25 Nov 2019 11:39:11 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

On 11/25/19 9:41 AM, Reuti wrote:
Hi,

I got a script using foo++() as function name, and at first I was confused of a different behavior between bash 4.2, 4.4 and 5.0. After crawling some mailing lists whether this is allowed at all, I found this post:

This was covered semi-exhaustively in a thread starting at

https://lists.gnu.org/archive/html/bug-bash/2019-01/msg00158.html

I implemented the suggestion to treat non-identifiers as strictly function
names in June.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]