Add README

Add README with examples only (and their outputs).
This commit is contained in:
olemorud
2023-06-22 18:00:50 +02:00
parent 533b991c0e
commit 51913de1fd

36
README.md Normal file
View File

@@ -0,0 +1,36 @@
## Examples
### One iteration
```sh
./rule110.sed <<<0001
```
output:
```
00011
```
### Many iterations
There's a useful helper script to run several iterations of the script, which
uses '#' for 1 and ' ' for 0.
```sh
./run.sh 00000000001
```
output:
```
#
##
###
## #
#####
## #
### ##
## # ###
####### #
# ###
# ## #
```