Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -3,22 +3,22 @@
> Evaluate condition.
> If it is true, returns 0 exit status, otherwise returns 1.
- Test if given variable is equal to given string
- Test if given variable is equal to given string:
`test $MY_VAR == '/bin/zsh'`
- Test if given variable is empty
- Test if given variable is empty:
`test -z $GIT_BRANCH`
- Test if file exists
- Test if file exists:
`test -e {{filename}}`
- Test if directory not exists
- Test if directory not exists:
`test ! -d {{path/to/directory}}`
- If-else statement
- If-else statement:
`test {{condition}} && echo "true" || echo "false"`