On 31 December 2011 07:30, marco atzeri wrote:
>
> the sed pattern to extract octave version
>
> majorversion := $(shell mkoctfile --version 2>&1 |sed -e 's/^.*
> \([0-9]*\)\.\([0-9]*\).\([0-9]*\)$$/\1/g')
> minorversion := $(shell mkoctfile --version 2>&1 |sed -e 's/^.*
> \([0-9]*\)\.\([0-9]*\).\
the sed pattern to extract octave version
majorversion := $(shell mkoctfile --version 2>&1 |sed -e 's/^.*
\([0-9]*\)\.\([0-9]*\).\([0-9]*\)$$/\1/g')
minorversion := $(shell mkoctfile --version 2>&1 |sed -e 's/^.*
\([0-9]*\)\.\([0-9]*\).\([0-9]*\)$$/\2/g')
microversion := $(shell mkoctfile --ve