Knowing not how to useth sed, I wrote the following:
#!/bin/sh
for i in *.wav; do
sox $i -w -s /tmp/tmp.wav
lame -b 32 /tmp/tmp.wav `echo $i | guile -c "(display (let
((tmp (read))) (substring tmp 0 (- (string-length tmp)
4))))"`.mp3
done
I have used Scheme in a shell script.
The sanctum has been violated.
Surely the
apocalypse
is at hand....