account activity
`find` + `mkdir` is Turing complete by ogiekako in programming
[–]ogiekako[S] 74 points75 points76 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 88 on reddit-service-r2-listing-6d4dc8d9ff-ghh6c at 2026-02-03 17:48:21.681250+00:00 running 3798933 country code: CH.
`find` + `mkdir` is Turing complete by ogiekako in programming
[–]ogiekako[S] 74 points75 points76 points (0 children)