I try to read the varnish version from a Linux Command line, but the following does not work:
varnishd -V | grep -P '(?<=varnish-)[0-9.]+' -o
This always returns this
varnishd (varnish-3.0.3 revision 9e6a70f)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2011 Varnish Software AS
instead of just this
3.0.3
Any hints on what I do wrong?
Thanks
Asked by Klaus Hörmann-Engl
(3 rep)
Oct 9, 2017, 12:33 PM
Last activity: Oct 9, 2017, 01:12 PM
Last activity: Oct 9, 2017, 01:12 PM