bug-bash
[Top][All Lists]
Advanced

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

Re: Officially document that we allow other characters in function names


From: konsolebox
Subject: Re: Officially document that we allow other characters in function names
Date: Tue, 28 Jun 2016 10:27:10 +0800

On Tue, Jun 28, 2016 at 5:04 AM, Chet Ramey <address@hidden> wrote:
> On 6/27/16 1:56 PM, konsolebox wrote:
>
>>> Chet is one of these people ;)
>>> https://lists.gnu.org/archive/html/bug-bash/2011-04/msg00040.html
>>
>> Well it wasn't a mistake for me.  At least I find the characters  '.'
>> and '?' (and maybe '!' as well) helpful.
>
> You just have to be careful that `?' doesn't conflict with globbing
> and `!' with history expansion.
>

Yes, I only use such forms of function names in bigger bash script
applications, and certainly not in an interactive shell.  I also
disable globbing there when I use '?'.  I've become a fan of
Ruby-style function names.

-- 
konsolebox



reply via email to

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