OK, this works for me. The problem is that, apparently, bash uses only
the _first_ character of IFS as a separator. So, I used
IFS=$(echo -en \\n\\t)
before the for loop. I got each filename as a single distinct item, even
the ones with spaces. Let me know if this works for you.
-Matt Stegman
<[EMAIL PROTECTED]>
On Sun, 2 Apr 2000, Gary Bunker wrote:
> Matt, that was a great explanation, but it still didn't seem to do the
> trick. Now, using the IFS redefinition you gave, I get the entire
> playlist sent to mpg123 as one filename, as far as I can tell from the
> output I get. Here's my screen dump for you to ponder. I think I'll
> just end up using mmv to replace spaces with underscores, and then
> find/replace in the playlist. That works perfectly, but I'd hoped for
> something magical and elegant. :-)