Hi Przemek,

MAJOR=`sed -e '/HB_VER_MAJOR/ !d' -e 's/[^0-9]*\([^ ]*\).*/\1/ g'<"${FVER}"` MINOR=`sed -e '/HB_VER_MINOR/ !d' -e 's/[^0-9]*\([^ ]*\).*/\1/ g'<"${FVER}"` REVIS=`sed -e '/HB_VER_REVISION/ !d' -e 's/[^0-9]*\([^ ]*\).*/\1/ g'<"${FVER}"`

This didn't change the results.

MAJOR=`sed -e '!HB_VER_MAJOR! !d' -e 's![^0-9]*\([^ ]*\).*!\1!g' "${FVER}"` MINOR=`sed -e '!HB_VER_MINOR! !d' -e 's![^0-9]*\([^ ]*\).*!\1!g' "${FVER}"` REVIS=`sed -e '!HB_VER_REVISION! !d' -e 's![^0-9]*\([^ ]*\).*!\1!g' "${FVER}"`

With this one it says:
'-e expression #1, char 3: extra characters after command'

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to