Skip to content

Commit

Permalink
//Kübelwagen/playmobil: initial commit
Browse files Browse the repository at this point in the history
usage: playmobil CODE [t]
where t defaults to 0
  • Loading branch information
tv committed Oct 10, 2011
1 parent 530ae97 commit 90eb09e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 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

0 comments on commit 90eb09e

Please sign in to comment.