Merge pull request #148 from xvazquezc/patch-1

added range loop alternate
This commit is contained in:
Rico Sta. Cruz 2017-10-26 14:13:55 +08:00 committed by GitHub
commit f89117c906
1 changed files with 8 additions and 0 deletions

View File

@ -210,6 +210,14 @@ for i in {1..5}; do
done done
``` ```
#### With step size
```bash
for i in {5..50..5}; do
echo "Welcome $i"
done
```
### Reading lines ### Reading lines
```bash ```bash