瀏覽代碼
fix: branch conditional
pull/7/head
Carlos Alexandro Becker
4 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 4AEE18F83AFDEB23
共有
1 個文件被更改,包括
2 次插入 和
1 次删除
-
README.md
|
|
@@ -632,7 +632,8 @@ unset HISTFILE && exit |
|
|
|
###### Perform a branching conditional |
|
|
|
|
|
|
|
```bash |
|
|
|
true && { echo success;} || { echo failed; } |
|
|
|
true && echo success |
|
|
|
false || echo failed |
|
|
|
``` |
|
|
|
|
|
|
|
###### Pipe stdout and stderr to separate commands |
|
|
|