[vdr] [ANNOUNCE] VDR developer version 1.3.47

syrius.ml at no-log.org syrius.ml at no-log.org
Wed Apr 26 18:49:16 CEST 2006


Udo Richter <udo_richter at gmx.de> writes:

> syrius.ml at no-log.org wrote:
>> grep|awk|sed in one sed:
>> 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 ! ;-)

-- 



More information about the vdr mailing list