[MPlayer-cvslog] r23862 - trunk/configure

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Jul 27 17:55:12 CEST 2007


Hello,
On Fri, Jul 27, 2007 at 11:06:59AM +0200, Attila Kinali wrote:
> 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.

Huh? No, that does completely the wrong thing AFAICT, I don't want the
'^' character to match but both start-of-line and space.

Greetings,
Reimar Döffinger



More information about the MPlayer-cvslog mailing list