mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-11-22 19:23:11 +00:00
updated 'Generate a sequence of numbers'
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
e6e75e5423
commit
d0bab860bf
1 changed files with 2 additions and 0 deletions
|
@ -1255,6 +1255,8 @@ for ((i=1; i<=10; i+=2)) ; do echo $i ; done
|
|||
|
||||
for ((i=5; i<=10; ++i)) ; do printf '%02d\n' $i ; done
|
||||
# alternative: seq -w 5 10
|
||||
|
||||
for i in {1..10} ; do echo $i ; done
|
||||
```
|
||||
|
||||
###### Simple Bash Filewatching
|
||||
|
|
Loading…
Reference in a new issue