Add 1990/theorem/try.sh

This script shows not just theorem but the sorter and the Fibonacci
generator as well. For the sorter it reverses output of ls (redirected
to a file) and then shows how using sorter on it results in the same
output of ls (with no options specified). Of course if different ls
sorts output differently this could fail but I did not think of that
until after I wrote it.
This commit is contained in:
Cody Boone Ferguson committed 2024-01-12 09:51:14 -08:00
1 parent fd57e523bf
commit 2bdf97ec41
4 files changed
+86 -12

No files matched your search

+3
View File
@@ -1111,6 +1111,9 @@ with clang in Linux but which was defaulting to an error. This way was the
simplest way to deal with the problem in question due to the way the entry
works.
Cody also added the [try.sh](/1990/theorem/try.sh) script which shows the
original program and some of the programs it generates.
[Yusuke](#yusuke) pointed out that `atof` nowadays needs `#include <stdlib.h>` which was
used in order to get this to work initially (prior to this output was there but
incomplete).