bug-bash
[Top][All Lists]
Advanced

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

Question on periods in function names


From: muji
Subject: Question on periods in function names
Date: Sat, 5 Jan 2013 15:11:05 +0100

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.

I am making extensive use of this *feature* and am concerned about the
possibility of this being removed.

Is it a mistake in the documentation? Was the ability to use periods
in function names reinstated at some point? Or is it likely that my
code will break in future releases (or on other platforms)?

Any help much appreciated.

-- 
mischa (aka muji).



reply via email to

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