repo.or.cz
/
bash.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added gitignore entries needed to ignore derived objects generated from full build...
[bash.git]
/
tests
/
func2.sub
blob
41a3844bdb72c662c4badab016d795065e98f67d
1
funca() (
2
echo func-a
3
)
4
5
funcb() ( echo func-b )
6
7
funcc() (
8
echo func-c
9
) 2>&1
10
11
type funca
12
type funcb
13
type funcc
14
15
funca
16
funcb
17
funcc
18
19
# when not in posix mode, bash allows non-identifiers as function names
20
set +o posix
21
foo-bar()
22
{
23
:;
24
}
25
26
declare -F foo-bar
27
declare -f foo-bar