fix: branch conditional

This commit is contained in:
Carlos Alexandro Becker 2018-12-15 09:10:18 -02:00 committed by GitHub
parent 8158fde545
commit 23458cd9a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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