problems exporting k3b project to ascii

Antonio Barragan <[email protected]> Wed, 28 Mar 2012 09:25:43 -0430
Newsgroups gmane.comp.kde.k3b
Message-ID <CAKdj3amWxkkkNG25QdRJ+tJU_5r1HzA8jFqBKkYtY72n3uoMBQ@mail.gmail.com>
Dear All

I'm having problems trying to extract the song list from a k3b project:

In k3b, I created the project:  K3bProject-0.k3b
Then I ran the script:

for ((x=1; x<=`dcop k3b K3bProject-1 trackCount`;x++)); do echo "$x.
"`dcop k3b K3bProject-1 trackArtist $x`" - "`dcop k3b K3bProject-1
trackTitle $x` >>toc; done

The result is this message:

ERROR: Couldn't attach to DCOP server!
bash: ((: x<=: syntax error: operand expected (error token is "<=")

What am I doing wrong???

Thanks

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure