mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
23 lines
215 B
Plaintext
23 lines
215 B
Plaintext
|
#!/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
|