Im trying to test this from the console and I seem to have a problem with the following command (using sed-4.1.4-7 from debian sid):
"sed -ne '/define APIVERSION/ { s/^.*"(.*)".*$$/\1/; p }' config.h"
This returns nothing.
"sed -ne '/define APIVERSION/ { s/^.*"(.*)".*$/\1/; p }' config.h"
This returns:
1.3.48
Is that right? Removing one of the "$" seems to fix it..
Sorry, I meant to say this command returns nothing:
sed -ne '/define VDRVERSION/s/^.*"(.*)".*$$/\1/p' config.h
and this command works:
sed -ne '/define VDRVERSION/s/^.*"(.*)".*$/\1/p' config.h
BR.