[vdr] [ANNOUNCE] VDR developer version 1.3.47

Udo Richter udo_richter at gmx.de
Wed Apr 26 19:27:58 CEST 2006


syrius.ml at no-log.org wrote:
>>> sed -ne '/define VDRVERSION/ { s/^.*"\(.*\)".*$/\1/; p }' config.h
>> Mine is shorter! :P
>>
>> sed -ne '/define VDRVERSION/s/.*"\(.*\)".*/\1/p' config.h
> 
> awk -F '"' '/define VDRVERSION/ {print $2}' config.h
> 
> mine ! ;-)

sed -ne"/define VDRVERSION/s/[^0-9.]//gp" config.h

Gotcha! ;D

Cheers,

Udo




More information about the vdr mailing list