38 lines
504 B
Bash
Executable File
38 lines
504 B
Bash
Executable File
#!/bin/rc
|
|
|
|
if (foo) {
|
|
echo 1 \
|
|
toto \
|
|
tutu
|
|
titi
|
|
}
|
|
if not {
|
|
echo 2
|
|
}
|
|
|
|
if (foo)
|
|
echo 3 # KNOWN INDENT BUG
|
|
if not
|
|
echo 4 # KNOWN INDENT BUG
|
|
|
|
switch ($a) {
|
|
case 3
|
|
echo 4
|
|
case 5
|
|
echo 7
|
|
for (i in a b c) {
|
|
echo $i
|
|
}
|
|
for (i in a b c)
|
|
echo "$i" # KNOWN INDENT BUG
|
|
echo titi
|
|
if (foo)
|
|
echo 3 # KNOWN INDENT BUG
|
|
if not
|
|
echo 4 # KNOWN INDENT BUG
|
|
|
|
case *
|
|
echo other
|
|
}
|
|
|