Feature request: bulk vcl include
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Feb 6 10:34:22 CET 2013
Content-Type: text/plain; charset=ISO-8859-1
--------
In message <51121ED7.5080104 at kigo.net>, "Vedad KAJTAZ, Kigo Inc." writes:
>It would be nice if one could bulk-include a whole directory from VCL.
The easy way is to:
cd directory
ls *.vcl | awk '{printf "include \"%s\"\n"}' > .all_includes.vcl
Then
include "directory/.all_includes.vcl"
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc
mailing list