mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2025-01-11 15:29:31 -05:00
Merge branch 'caarlos0-patch-2' into develop
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
commit
7f6e75bf9a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user