elsif -> elif
This commit is contained in:
parent
0c9f223716
commit
2698864790
2
bash.md
2
bash.md
|
@ -80,7 +80,7 @@ See: [Functions](#functions)
|
||||||
```bash
|
```bash
|
||||||
if [ -z "$string" ]; then
|
if [ -z "$string" ]; then
|
||||||
echo "String is empty"
|
echo "String is empty"
|
||||||
elsif [ -n "$string" ]; then
|
elif [ -n "$string" ]; then
|
||||||
echo "String is not empty"
|
echo "String is not empty"
|
||||||
fi
|
fi
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue