mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 10:12:38 +02:00
commit bash-20090226 snapshot
This commit is contained in:
@@ -15,3 +15,13 @@ type funcc
|
||||
funca
|
||||
funcb
|
||||
funcc
|
||||
|
||||
# when not in posix mode, bash allows non-identifiers as function names
|
||||
set +o posix
|
||||
foo-bar()
|
||||
{
|
||||
:;
|
||||
}
|
||||
|
||||
declare -F foo-bar
|
||||
declare -f foo-bar
|
||||
|
||||
Reference in New Issue
Block a user