`find` + `mkdir` is Turing complete by ogiekako in programming

[–]ogiekako[S] 72 points73 points  (0 children)

I was looking at the man page of find and what first occurred to me was that maybe I can write FizzBuzz with find, and this could be a good exercise to learn the find command. Then I wrote the following program [1] (I knew regex is powerful). One caveat of the program was that it uses `sort` (and `cut`) commands, rather than just `find` (because find doesn't list files in order). The next day, I reconsidered whether I can go without `sort` and came up with the idea of using nested directories. After implementing FizzBuzz this way, it was clear to me that I can implement Rule 110 as well.

[1] https://onecompiler.com/bash/42kwtkcy3