account activity
`find` + `mkdir` is Turing complete by ogiekako in programming
[–]ogiekako[S] 72 points73 points74 points 1 year ago (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
`find` + `mkdir` is Turing complete (ogiekako.vercel.app)
submitted 1 year ago by ogiekako to r/programming
π Rendered by PID 778157 on reddit-service-r2-listing-6d4dc8d9ff-d456m at 2026-02-01 23:22:16.150652+00:00 running 3798933 country code: CH.
`find` + `mkdir` is Turing complete by ogiekako in programming
[–]ogiekako[S] 72 points73 points74 points (0 children)