Reformatted pages once more

This commit is contained in:
Ruben Vereecken
2016-01-13 12:04:46 +01:00
parent c9d0ed3e16
commit 9676334119
16 changed files with 61 additions and 61 deletions

View File

@@ -1,11 +1,11 @@
# if
> Simple shell conditional
> Simple shell conditional.
- Echo a different thing depending on a command's success.
- Echo a different thing depending on a command's success:
`{{command}} && echo "success" || echo "failure"`
- Full if syntax.
- Full if syntax:
`if {{condition}}; then echo "true"; else echo "false"; fi`