This isn't a bug, though it may be possible for me to provide a workaround someday.
Rather, it is a quirk of the shell you are using. You must put quotes around the entire command that you pass to the -e option. For example:
(this _should_ print the list, grep it for a song called 'somesongname', cut the number, and send command to xmms-shell to play this song)
... but this doesn't work (it gives the error: Usage: JUMP <position> )
[abraxas@dhcp-thinkpad laird]$ xmms-shell -e load /foo/mp3/ph99-09-12.mp3f/ph99-09-12d1t01.shn.mp3
Usage: LOAD <filename>
However, from interactive it works fine.
xmms-shell> load /foo/mp3/ph99-09-12.mp3f/ph99-09-12d1t01.shn.mp3
xmms-shell> list
1. ph99-09-12d1t01.shn
xmms-shell> v
XMMS-Shell v0.2.2 by Logan Hanks <logan@vt.edu>
Build info: 01:18:59 May 19 2000 with egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
This isn't a bug, though it may be possible for me to provide a workaround someday.
Rather, it is a quirk of the shell you are using. You must put quotes around the entire command that you pass to the -e option. For example:
xmms-shell -e "load /foo/mp3/ph99-09-12.mp3f/ph99-09-12d1t01.shn.mp3"
Is this the same issue I have, when I do:
xmms-shell -e list | grep -i somesongname | cut -d. -f1 | xargs xmms-shell -e jump
(this _should_ print the list, grep it for a song called 'somesongname', cut the number, and send command to xmms-shell to play this song)
... but this doesn't work (it gives the error: Usage: JUMP <position> )
xargs -i% --verbose xmms-shell -e \"jump %\"
won't improve my vision on the problem.
Perhaps anyone here can help?