repo.or.cz
/
emacs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/NEWS: Mention the feature of query replace pairs.
[emacs.git]
/
test
/
indent
/
shell.rc
blob
e5c63e335b9c3f22913d718fdd44e40cd28d31fc
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