@trimstray
пре 6 година
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са
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 |
|
|
|