[Gllug] Parsing strings in a shell script
Stuart Sears
stuart at sjsears.com
Thu Sep 9 21:06:06 UTC 2004
On Thursday 09 September 2004 21:42, Dylan wrote:
> On Thursday 09 Sep 2004 21:31 pm, Stuart Sears wrote:
> > ogginfo "David Bowie - BlueJean.ogg" | grep ARTIST | cut -d= -f2
>
> dylan at scooby(1):/media/server/music/test> ogginfo "David Bowie - Blue
> Jean.ogg" | grep ARTIST | cut -d= -f2
> David Bowie
> dylan at scooby(1):/media/server/music/test>
>
> Spot on, thank you muchly
you are most welcome.
Given time, I'm sure someone would have come up with either a perl or
(shudder) awk solution...
:-)
Stuart Sears RHCE, RHCX
--
You can't cross a large chasm in two small jumps.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list