9 Sep
2004
9 Sep
'04
20:45
Dylan writes:
dylan@scooby(1):/media/server/music/test> ogginfo "David Bowie - Blue=20 Jean.ogg" | grep ARTIST | sed 's/ ARTIST=3D//' ARTIST=3DDavid Bowie dylan@scooby(1):/media/server/music/test>
but no!
Suffice it to say I have tried various permutations of pipes and=20 redirects, but I either get the output above, or bash admonishes me for=20 ambiguous redirection.
That might be a tab character instead of 8 spaces before the ARTIST. Try using a sed expression like this: 's/^[ ]*ARTIST//' where between the square brackets is actually a space and a tab character. This will remove any number of leading spaces and tabs. -Ti