Merge pull request #180 from xexyl/1989-jar.1

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-03-27 11:19:02 -07:00
commit cd615889fe
1 file changed
+13 -12
+13 -12
View File
@@ -1,4 +1,4 @@
## Strangest abuse of the rules: # Strangest abuse of the rules:
Jari Arkko Jari Arkko
Laboratory of Information Processing Science Laboratory of Information Processing Science
@@ -7,10 +7,14 @@
02150 Espoo 02150 Espoo
Finland Finland
# To build and run:
make clobber all
## Judges notes: ## Judges notes:
On many systems the compiler will not allow you to send the On many systems the compiler will not allow you to send the object file to
object file to /dev/tty. The author suggested: /dev/tty. The author suggested:
cc -c -o /dev/tty jar.1.c cc -c -o /dev/tty jar.1.c
@@ -19,19 +23,16 @@ On systems that have symbolic links, we suggest:
ln -s /dev/tty jar.1.o ln -s /dev/tty jar.1.o
cc -c jar.1.c cc -c jar.1.c
if your system has symbolic links. The shell script run As a last resort the scripts provided simply cat the .o file to the terminal.
by the Makefile simply cats the .o file to the terminal
which can be used as a last resort.
Abuse of the rules winners usually result in a change of the Abuse of the rules winners usually result in a change of the rules. Starting in
rules. Starting in 1990, compiling entries must result an 1990, compiling entries must result an regular file which can be executed.
regular file which can be executed.
## Selected notes from the author: ## Selected notes from the author:
This program is (supposedly) the smallest C program able to This program is (supposedly) the smallest C program able to print "Hello
print "Hello world.". The compilation itself produces the world.". The compilation itself produces the desired printout and the program
desired printout and the program need not be actually run. need not be actually run.
## Copyright and CC BY-SA 4.0 License: ## Copyright and CC BY-SA 4.0 License: