At Wed, 14 Oct 2015 13:06:01 +0900,
Takashi Yamamoto wrote:
> 
> hi,
> 
> m4/openvswitch.m4 has the following substitution.
> NetBSD's /bin/sh complains on that.
> 
> PTHREAD_WIN32_DIR_DLL=/${withval/:/}/dll/x64
> 
> i've looked at bash's man page but i couldn't find this substitution.

My bash manpage has the following:

       ${parameter/pattern/string}
              Pattern substitution.  The pattern is expanded to produce a pat-
              tern just as in pathname expansion.  Parameter is  expanded  and
              the  longest match of pattern against its value is replaced with

> can you explain what does it mean, and even better, replace it
> with something more portable?  thank you.
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to