shithub: sox

Download patch

ref: 9ac60b7d2b6274a7acc05e9f5a58b2ffda53cdd4
parent: b6a2c3b8eb4bd7e5773b6f5294baaddb66cd5fd7
author: rrt <rrt>
date: Wed Feb 21 19:56:13 EST 2007

Outdent "done" at end of while loops in example code.

--- a/soxexam.7
+++ b/soxexam.7
@@ -364,7 +364,7 @@
 
 for freq in 1300 2200; do
   sox \-c1 \-r8000 \-n \-t raw \- synth 0\*d25 sine $freq vol 0\*d7 >> 2tones.raw
-  done
+done
 
 # We need 60 copies of 2tones.raw (0\*d5 sec) to get 30 secs of audio:
 iterations=60
@@ -375,7 +375,7 @@
 while [ $iterations \-ge 1 ]; do
   cat 2tones.raw >> alert.raw
   iterations=\`expr $iterations \- 1\`
-  done
+done
 
 # Add a file header and save some disc space:
 sox \-sw \-c1 \-r8000 alert.raw alert.ogg