Permalink
Browse files

//Kübelwagen/playmobil: initial commit

usage: playmobil CODE [t]
where t defaults to 0
  • Loading branch information...
1 parent 530ae97 commit 90eb09e15b2af8f8aecc817d130fd2308ce03876 tv committed Oct 10, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 Kübelwagen/playmobil
View
@@ -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

0 comments on commit 90eb09e

Please sign in to comment.