> /usr/local/opt/qt/bin/qmake --version 2>&1 |
> /usr/local/opt/gnu-sed/libexec/gnubin/sed
> '/^.*\([0-9]\+\.[0-9]\+\.[0-9]\+\).*$/!d;s//\1/'

Please try this regexp.

  '/^.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*$/!d;s//\1/'

According to the sed info file `\+' is a GNU sed extension.


    Werner

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to