add c-like for loop

This commit is contained in:
Gabriel Petry 2019-02-22 07:30:15 -03:00 committed by GitHub
parent fa16f8134c
commit 57c49cd8aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -220,6 +220,12 @@ for i in /etc/rc.*; do
done done
``` ```
### C-Like for loop
```bash
for ((i = 0 ; i < 100 ; i++)); do
echo $i
done
### Ranges ### Ranges
```bash ```bash