Oliver Endriss wrote: > Klaus Schmidinger wrote: >> VDR developer version 1.3.48 is now available at >> ... >> - Simplified the 'grep|awk|sed' command to retrieve the VDR/APIVERSION to a single >> 'sed' call. > > (1) My sed does not accept lines like this: > | sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$/\1/; p }' config.h > | sed: -e expression #1, char 47: Extra characters after command > > This works: > | sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$/\1/p; }' config.h > | 1.3.47 > > (2) The newplugin script is broken: > - references VDRVERSION, not APIVERSION > - '\' must be escaped > - sed problem as above Just to make sure I don't make any stupid last minute error here's the complete change that resulted from this. Maybe somebody finds the time to look over this... Klaus -------------- next part -------------- A non-text attachment was scrubbed... Name: vdr-1.3.48-apiversion.diff Type: text/x-patch Size: 5502 bytes Desc: not available Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060424/13ab23de/vdr-1.3.48-apiversion.bin