elsif -> elif

This commit is contained in:
osman ozdemir 2017-10-30 14:02:04 -04:00 committed by GitHub
parent 0c9f223716
commit 2698864790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
``` ```