diff options
Diffstat (limited to 'K_belwagen/playmobil')
-rwxr-xr-x | K_belwagen/playmobil | 12 |
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 |