Improve 2012/konno/try.sh

Now randomly selects 10 numbers (in range $((RANDOM % 101))).

Also allows one to pass in numbers (or if they wish to they can pass in
non-numbers) to pass to the program.

The script has new fun numbers.

Removed that the valid range is from 0 - 255 as numbers bigger than 255
not only work but some show some fun output (a number of which are used
in the script now).
This commit is contained in:
Cody Boone Ferguson committed 2024-01-26 10:32:17 -08:00
1 parent 69ee0b8de6
commit bf98cc9052
2 files changed
+45 -17

No files matched your search

+6 -2
View File
@@ -14,15 +14,19 @@ code](#alternate-code) below.
./konno N
```
NOTE: N is an integer from 0 to 255.
## Try:
```sh
./try.sh
# you can also specify numbers to try before the random and preselected ones:
./try.sh 111 222 333 444 555 666 777 888 999
```
Try running [try.sh](try.sh) a number of times as the first part randomly
selects ten numbers to try.
## Alternate code: