10 Sep
2004
10 Sep
'04
02:31
David, On Thursday 09 September 2004 19:15, David Bolt wrote:
...
You could try this:
artist=$(ogginfo "David Bowie - Blue Jean.ogg" | grep ARTIST) artist=${artist##*ARTIST=}
You'd be well advised to quote the right-hand sides of these assignments, too: artist="$(ogginfo "David Bowie - Blue Jean.ogg" | grep ARTIST)" artist="${artist##*ARTIST=}"
Unfortunately, you need to do this as two steps as ${} needs a variable as the first parameter and will fail if you try and use $(command) instead.
Regards, David Bolt
Randall Schulz