Ok, I am writing a shell script to automate the encoding of cds to ogg using cdparanoia and then oggenc. It will take the track01.cdda.wav file and name it from a naming file that you input before hand. It works, mostly. I have an iteration problem, and I cant figure out a way around it, as I have only been scripting for a few days now, with whatever info I can find on the net. Here is the code, the problem is fairly obvious.
echo "what is the name of your title file?"
for i in *.wav; do
for t in `cat "$title_file"`;do
oggenc "$i" -q 5 -t "$t"
rm -f "$i".wav