markdown removed the [[ in the if-statement
parent
c7670fb339
commit
6d64481bb8
@ -35,6 +35,8 @@ When possible, use environment variables instead of forking a command.
|
|||||||
|
|
||||||
`if-then` statements should be on one line:
|
`if-then` statements should be on one line:
|
||||||
|
|
||||||
|
```bash
|
||||||
if [[ -f $1 ]]; then
|
if [[ -f $1 ]]; then
|
||||||
...
|
...
|
||||||
fi
|
fi
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user