summaryrefslogtreecommitdiff
blob: e12be072ed92aed66458d269cee1cad7a805c6be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- catspeech.orig	2005-07-31 20:04:41.000000000 -0700
+++ catspeech	2005-07-31 20:05:17.000000000 -0700
@@ -24,12 +24,9 @@ $fifo = '/dev/speech';
 
 open FIFO, ">>$fifo" or die "Error opening $fifo for appending ($!)\n";
 
-while (1)
-{
- while($line = <STDIN> ) {
-   print FIFO $line, "\n";
-   autoflush FIFO 1;
- }
+while($line = <STDIN> ) {
+	print FIFO $line, "\n";
+	autoflush FIFO 1;
 }
 
 close FIFO;