mirror of
https://github.com/vim/vim
synced 2025-05-02 14:27:44 +02:00
closes: #16052 Signed-off-by: Lukas Zapletal <lzap+git@redhat.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
22 lines
215 B
Bash
22 lines
215 B
Bash
#!/bin/bash
|
|
# vim: set ft=bash sw=2 noet:
|
|
|
|
# START_INDENT
|
|
a = 10
|
|
b = 20
|
|
|
|
function add() {
|
|
c = $((a + b))
|
|
}
|
|
|
|
function print {
|
|
# do nothing
|
|
}
|
|
|
|
if [[ $c -ge 15 ]];
|
|
then
|
|
print("ok")
|
|
else
|
|
print("not ok")
|
|
fi
|
|
# END_INDENT
|