linux-tutorial/codes/shell/示例脚本/逻辑控制
2019-10-15 14:17:17 +08:00
..
bash-shell无法处理浮点数.sh format codes 2019-10-10 08:56:31 +08:00
break使用示例.sh update scripts 2019-10-15 14:17:17 +08:00
case使用示例.sh update scripts 2019-10-15 14:17:17 +08:00
continue使用示例.sh update scripts 2019-10-15 14:17:17 +08:00
for循环使用示例.sh update scripts 2019-10-15 14:17:17 +08:00
if-elif-else使用示例.sh update scripts 2019-10-15 14:17:17 +08:00
output.txt 添加脚本 2019-05-10 11:17:57 +08:00
select-demo.sh update scripts 2019-10-15 14:17:17 +08:00
until使用示例.sh update scripts 2019-10-15 14:17:17 +08:00
while循环使用示例.sh update scripts 2019-10-15 14:17:17 +08:00
从命令读取值.sh format codes 2019-10-10 08:56:31 +08:00
使用双圆括号.sh format codes 2019-10-10 08:56:31 +08:00
使用双方括号.sh format codes 2019-10-10 08:56:31 +08:00
使用大于小于号.sh update scripts 2019-10-15 14:17:17 +08:00
使用嵌套循环并修改IFS.sh format codes 2019-10-10 08:56:31 +08:00
使用管道或重定向.sh format codes 2019-10-10 08:56:31 +08:00
使用通配符处理目录.sh format codes 2019-10-10 08:56:31 +08:00
注意test大小写顺序和sort不同.sh format codes 2019-10-10 08:56:31 +08:00
读取里表中复杂的值.sh format codes 2019-10-10 08:56:31 +08:00