blob: e6be9260c7495541bd1d4dc01fa3ac6fd3cfb30d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#!/bin/dash
# MNV_TEST_SETUP setlocal fen fdc=2 fdl=8 fdm=syntax
# MNV_TEST_SETUP let g:sh_fold_enabled = 1 + 2 + 4
thence()
until :
do
:
done
thence
whiles() while false; do :; done; whiles
elsewhere() if :
then :; fi; elsewhere
cased() case "$#" in *) :;; esac; cased
fore()
for x in 1 2
do
:
done
fore
if :; then
id2()
(
id1() {
echo "$1"
}
id1 "$1"
)
id2 "$1"
fi
function ()
{ echo $#;
}; function $@
|