[vdr] [ANNOUNCE] VDR developer version 1.3.48
C.Y.M
syphir at syphir.sytes.net
Wed Apr 26 09:18:03 CEST 2006
>>
>
> 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.
More information about the vdr
mailing list