blob: 51ed70d6038fe75f1760ae1feaf2f3026d1102b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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
|