[MPlayer-cvslog] r23862 - trunk/configure

Attila Kinali attila at kinali.ch
Fri Jul 27 11:06:59 CEST 2007


On Thu, 26 Jul 2007 12:14:04 +0200
Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> > > -  if ` echo $2 | grep "[^ ]$part[ $]" > /dev/null `; then
> > > +  if ` echo $2 | grep "\<$part\>" > /dev/null `; then
> > 
> > in my test the more standard
> > 
> > if ` echo $2 | grep "[ ^]$part[ $]" > /dev/null `; then
> 
> Forget it, can't work.
> \b instead of \< and \> might, but no idea if it is more portable.

Why not use grep '^'$part'$' ? Even solaris grep understands that.

				Attila Kinali

-- 
Praised are the Fountains of Shelieth, the silver harp of the waters,
But blest in my name forever this stream that stanched my thirst!
                         -- Deed of Morred



More information about the MPlayer-cvslog mailing list