Content-Type: text/plain; charset=ISO-8859-1
--------
In message <[email protected]>, "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
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to