Update README.md

corrected 'if loop' to 'if statement'
This commit is contained in:
I-Man Ng 2019-05-08 22:27:27 +08:00 committed by GitHub
parent 65cd41dd2a
commit 19dc622b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -891,7 +891,7 @@ find . -name "*.mso" -size -74c -delete
## Loops ## Loops
[[back to top](#handy-bash-oneliner-commands)] [[back to top](#handy-bash-oneliner-commands)]
##### If loop ##### If statement
```bash ```bash
# if and else loop for string matching # if and else loop for string matching
if [[ "$c" == "read" ]]; then outputdir="seq"; else outputdir="write" ; fi if [[ "$c" == "read" ]]; then outputdir="seq"; else outputdir="write" ; fi