[vdr] [ANNOUNCE] VDR developer version 1.3.48

Oliver Endriss o.endriss at gmx.de
Mon Apr 24 02:55:19 CEST 2006


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

Patches attached.

Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile-sed.diff
Type: text/x-diff
Size: 664 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060424/d946c891/makefile-sed.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newplugin-sed.diff
Type: text/x-diff
Size: 453 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060424/d946c891/newplugin-sed.bin


More information about the vdr mailing list