From d0bab860bf6439fe5329005fe6c971673bf095b9 Mon Sep 17 00:00:00 2001 From: trimstray Date: Wed, 10 Apr 2019 11:25:34 +0200 Subject: [PATCH] updated 'Generate a sequence of numbers' - signed-off-by: trimstray --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 204c824..ac639fd 100644 --- a/README.md +++ b/README.md @@ -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