[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on periods in function names
From: |
Chet Ramey |
Subject: |
Re: Question on periods in function names |
Date: |
Sat, 05 Jan 2013 13:26:07 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 1/5/13 9:11 AM, muji wrote:
> Hello!
>
> According to this:
>
> http://tldp.org/LDP/abs/html/gotchas.html
>
> As of version 3 periods in function names are not allowed, I quote:
>
> # As of version 3 of Bash, periods are not allowed within function names.
>
> Yet I am using:
>
> GNU bash, version 4.2.0(1)-release (i386-apple-darwin10.8.0)
>
> And I can use periods in function names without any problems.
It works by default, but not when bash is running in posix mode. I don't
have any plans to change this.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/