Sfoglia il codice sorgente

fixed branching conditional example

pull/7/head
@trimstray 5 anni fa
committed by GitHub
parent
commit
2447190fda
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. +1
    -2
      README.md

+ 1
- 2
README.md Vedi File

@@ -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


Caricamento…
Annulla
Salva