summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/noweb1.now
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/nxhtml/tests/in/noweb1.now')
-rw-r--r--emacs.d/nxhtml/tests/in/noweb1.now38
1 files changed, 0 insertions, 38 deletions
diff --git a/emacs.d/nxhtml/tests/in/noweb1.now b/emacs.d/nxhtml/tests/in/noweb1.now
deleted file mode 100644
index 1df9074..0000000
--- a/emacs.d/nxhtml/tests/in/noweb1.now
+++ /dev/null
@@ -1,38 +0,0 @@
-@
-\section{Hello world}
-
-Today I awakened and decided to write
-some code, so I started to write a Hello World in \textsf C.
-
-<<hello.c>>=
-/*
- <<license>>
-*/
-#include <stdio.h>
-
-int main(int argc, char *argv[]) {
- printf("Hello World!\n");
- return 0;
-}
-@
-\noindent \ldots then I did the same in PHP.
-
-<<hello.sql>>=
-SELECT * FROM Persons
-WHERE FirstName LIKE '%a'
-@
-<<hello.php>>=
-<?php
- /*
- <<license>>
- */
- echo "Hello world!\n";
-?>
-@
-\section{License}
-Later, same day some lawyer reminded me about licenses.
-So, here it is:
-
-<<license>>=
-This work is placed in the public domain.
-@