]> code.delx.au - gnu-emacs/blob - test/manual/indent/shell.rc
Merge from origin/emacs-25
[gnu-emacs] / test / manual / indent / shell.rc
1 #!/bin/rc
2
3 if (foo) {
4 echo 1 \
5 toto \
6 tutu
7 titi
8 }
9 if not {
10 echo 2
11 }
12
13 if (foo)
14 echo 3 # KNOWN INDENT BUG
15 if not
16 echo 4 # KNOWN INDENT BUG
17
18 switch ($a) {
19 case 3
20 echo 4
21 case 5
22 echo 7
23 for (i in a b c) {
24 echo $i
25 }
26 for (i in a b c)
27 echo "$i" # KNOWN INDENT BUG
28 echo titi
29 if (foo)
30 echo 3 # KNOWN INDENT BUG
31 if not
32 echo 4 # KNOWN INDENT BUG
33
34 case *
35 echo other
36 }
37