syrius.ml@xxxxxxxxxx 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