Merge pull request #903 from xexyl/1984-decot

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-07-09 08:51:06 -07:00
commit d2beb64941
4 files changed
+20 -4

No files matched your search

+1
View File
@@ -135,6 +135,7 @@ all: data ${TARGET}
${PROG}: ${PROG}.c
${CC} ${CFLAGS} $< -o $@ ${LIBS}
@echo "NOTE: this program prints out a string of garbage."
# alternative executable
#
+1 -3
View File
@@ -46,9 +46,7 @@ for(signal=0;*k *x * __FILE__ *i;) do {
```
To see what we mean look at the source file in the
[archive/archive-1984.tar.bz2](/archive-1984.tar.bz2) tarball or
[decot.alt.c](decot.alt.c).
To see what we mean look at the [original source file](decot.orig.c).
## Author's remarks:
+1 -1
View File
@@ -12,7 +12,7 @@ struct tag{int x0,*xO;}
*main(i, dup, signal) {
{
for(signal=0;*k *x * __FILE__ *i;) do {
for(signal=0;*k * x * __FILE__ *i;) do {
(printf(&*"'\",x); /*\n\\", (*((double(tag,u)(*)())&floor))(i)));
goto _0;
+17
View File
@@ -427,6 +427,23 @@ Cody!
# 1984
## [1984/decot](1984/decot/decot.c) ([README.md](1984/decot/README.md)
## STATUS: INABIAF - please **DO NOT** fix
The purpose of this program is to print out a string of rubbish. In particular
you should see something like:
```sh
$ ./decot
'",x); /*
\
```
without a newline after the `\`. This is not a bug.
## STATUS: INABIAF - please **DO NOT** fix
## [1984/laman](1984/laman/laman.c) ([README.md](1984/laman/README.md)
## STATUS: INABIAF - please **DO NOT** fix