mirror of
https://github.com/JamesonHuang/OpenWrt_Luci_Lua.git
synced 2024-11-24 06:10:11 +00:00
14 lines
169 B
Bash
14 lines
169 B
Bash
|
#!/bin/bash
|
||
|
#以下代码中(())可替换为[]
|
||
|
|
||
|
a="up"
|
||
|
|
||
|
if(($a=="down")); then
|
||
|
echo "if"
|
||
|
elif(($a=="up")); then
|
||
|
echo "else"
|
||
|
else
|
||
|
echo "helo"
|
||
|
echo $a
|
||
|
fi
|