[MPlayer-cvslog] r23862 - trunk/configure

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jul 26 12:14:04 CEST 2007


Hello,
On Thu, Jul 26, 2007 at 11:01:24AM +0200, Reimar D?ffinger wrote:
> On Wed, Jul 25, 2007 at 09:02:29PM +0200, uau wrote:
> > All features were disabled because of a regexp that used "[^ ]" to
> > match start of a word. '^' is not a metacharacter meaning beginning
> > of line inside [], instead it inverts the matching condition of the
> > other characters in the list.
> 
> Argh, stupid me.
> 
> > -  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.

Greetings,
Reimar Döffinger



More information about the MPlayer-cvslog mailing list