Skip to content

A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.

fix: branch conditional

Carlos Alexandro Becker23458cd9a1dd
diff --git a/README.md b/README.md
index 5dfa9c9..0d35d41 100644
--- a/README.md
+++ b/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