mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-25 22:07:01 +00:00
Update README.md
corrected 'if loop' to 'if statement'
This commit is contained in:
parent
65cd41dd2a
commit
19dc622b02
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user