mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-12-26 09:58:40 +01:00
Merge branch 'caarlos0-patch-2' into develop
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
commit
7f6e75bf9a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue