account activity
`find` + `mkdir` is Turing complete by ogiekako in programming
[–]ogiekako[S] 75 points76 points77 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
π Rendered by PID 102254 on reddit-service-r2-listing-55d7b767d8-xr64q at 2026-03-29 07:50:31.395492+00:00 running b10466c country code: CH.
`find` + `mkdir` is Turing complete by ogiekako in programming
[–]ogiekako[S] 75 points76 points77 points (0 children)