소스 검색
fix: branch conditional
pull/7/head
Carlos Alexandro Becker
5 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
2개의 추가작업 그리고
1개의 파일을 삭제
-
README.md
|
|
@@ -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 |
|
|
|