From 51913de1fdaa251e54bd5376d849c344d939547f Mon Sep 17 00:00:00 2001 From: olemorud Date: Thu, 22 Jun 2023 18:00:50 +0200 Subject: [PATCH] Add README Add README with examples only (and their outputs). --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..5d8534c --- /dev/null +++ b/README.md @@ -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: +``` + # + ## + ### + ## # + ##### + ## # + ### ## + ## # ### + ####### # + # ### + # ## # +``` +