You've already forked the-book-of-secret-knowledge-copy
fix: branch conditional
This commit is contained in:
committed by
GitHub
parent
8158fde545
commit
23458cd9a1
@@ -632,7 +632,8 @@ unset HISTFILE && exit
|
|||||||
###### Perform a branching conditional
|
###### Perform a branching conditional
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
true && { echo success;} || { echo failed; }
|
true && echo success
|
||||||
|
false || echo failed
|
||||||
```
|
```
|
||||||
|
|
||||||
###### Pipe stdout and stderr to separate commands
|
###### Pipe stdout and stderr to separate commands
|
||||||
|
|||||||
Reference in New Issue
Block a user