[Dnsmasq-discuss] probable enhancement in get_version

Shantanu Gadgil shantanugadgil at yahoo.com
Tue Feb 10 07:24:02 GMT 2015


Hi,

dnsmasq v2.73test6 reports the version as v2.73test5


The line

echo "${vers}" | sort | head -n 1 | sed 's/^v//'

could be:

echo "${vers}" | sort -r | head -n 1 | sed 's/^v//'

Regards,
Shantanu Gadgil



More information about the Dnsmasq-discuss mailing list