summaryrefslogtreecommitdiffstats
path: root/Kübelwagen/playmobil
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-10-11 15:45:28 +0200
committermakefu <github@syntax-fehler.de>2011-10-11 15:45:28 +0200
commitbc3cad9562f824070a175aafd692ff2995c01253 (patch)
tree06e00162bd1d001f9ef943efeabdb0507f3ad222 /Kübelwagen/playmobil
parent1c1d0d95b3c64d045146a61f12d59183f4cf1cba (diff)
parent90eb09e15b2af8f8aecc817d130fd2308ce03876 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'Kübelwagen/playmobil')
-rwxr-xr-xKübelwagen/playmobil12
1 files changed, 12 insertions, 0 deletions
diff --git a/Kübelwagen/playmobil b/Kübelwagen/playmobil
new file mode 100755
index 00000000..51ed70d6
--- /dev/null
+++ b/Kübelwagen/playmobil
@@ -0,0 +1,12 @@
+#! /bin/sh
+file=`mktemp`
+trap "rm -f $file" EXIT INT TERM
+
+gcc -xc -lm -o $file - <<EOF
+#include<math.h>
+main(t) {
+ for (t=${2-0};;++t) putchar($1);
+}
+EOF
+
+$file | aplay