你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
需求如下 :
#!/bin/bash num=1 if [[ $num -eq 1 ]];then pass fi # python if num = 1: pass
没有找到相关结果
空心菜 - 心向阳光,茁壮成长
num=1 if [[ $num -eq 1 ]];then usleep fi
if command; then :; else ...; fi
要回复问题请先登录或注册
项目实施 系统工程师
1 个回复
空心菜 - 心向阳光,茁壮成长
2. 利用冒号:
参考:
https://unix.stackexchange.com/questions/476206/is-there-something-similar-or-like-pass-in-python-in-bash-shell-programming
https://stackoverflow.com/questions/3224878/what-is-the-purpose-of-the-colon-gnu-bash-builtin