瀏覽代碼

fixed branching conditional example

pull/7/head
@trimstray 5 年之前
committed by GitHub
父節點
當前提交
2447190fda
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      README.md

+ 1
- 2
README.md 查看文件

@@ -632,8 +632,7 @@ unset HISTFILE && exit
###### Perform a branching conditional

```bash
true && echo success
false || echo failed
your_command && { echo success;} || { echo failed; }
```

###### Pipe stdout and stderr to separate commands


Loading…
取消
儲存