zoukankan
html css js c++ java
shell脚本系列:[[ ]]和[ ]的区别
test 或 []
[ -z "$str1" ] || [ -z "$str2" ]
正确
[ -z "$str1" -o -z "$str2" ]
正确
[[ -z $str1 || -z $str2 ]]
错误
[[ ]]
[[ -z $str1 ]] || [[ -z $str2 ]]
正确
[[ -z $str1 -o -z $str2 ]]
错误
[[ -z $str1 || -z $str2 ]]
正确
查看全文
相关阅读:
12月2号
11月30号
11月25号
本周总结
每日日报
每日日报
每日日报
JAVA日报
JAVA日报
JAVA日报
原文地址:https://www.cnblogs.com/iuskye/p/shell-kuohao.html
最新文章
自学Java0718
自学Java0719
自学Java0720
Interesting Finds: 2009 09.06 ~ 09.14
Interesting Finds: 2009 09.01 ~ 09.05
Interesting Finds: 2009 09.15 ~ 09.20
Interesting Finds: 2009 08.04 ~ 08.10
Interesting Finds: 2009 09.22 ~ 09.30
Interesting Finds: 2009 08.19 ~ 08.25
Interesting Finds: 2009 07.27 ~ 08.03
热门文章
Interesting Finds: 2009 07.21 ~ 07.26
Interesting Finds: 2009 07.13 ~ 07.20
Interesting Finds: 2009 08.11 ~ 08.18
11月24号
12月4号
12月3号
12月1号
11月26号
11月28号
11月27号
Copyright © 2011-2022 走看看