Re:Gödel's Incompleteness Theorem in Bash
by assbuttbuttass on Friday February 25, 2022 @12:30AM
(#30464016)
What if the program you're running outputs "foo" in an infinite loop?
Then I think the above behave_differently would actually behave the same
Re:Gödel's Incompleteness Theorem in Bash
by KerrickStaley on Friday February 25, 2022 @12:31AM
(#30464023)
That does not work. Your example does not change the behavior of the following program:
echo foo
exec $0
[0] Specifically, it does carry over to any model of a program that outputs a stream of symbols one at a time. A single-tape Turing machine that computes a function doesn’t work like that.