Feature request: bulk vcl include

Vedad KAJTAZ, Kigo Inc. vedad at kigo.net
Wed Feb 6 11:00:49 CET 2013


Hi,

Thanks for the tip (haven't tried it, but I believe a ';' is missing 
before newline).

Yet, built-in globbing would be far more convenient.

Regards,


Le 06/02/2013 10:34, Poul-Henning Kamp a écrit :
> 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"
>

-- 
Vedad KAJTAZ
Head of Software Development
T: +33 9 72 39 69 65 | E: vedad at kigo.net

kigo.net | Vacation Rental Software, Websites & Channel Manager

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3734 bytes
Desc: Signature cryptographique S/MIME
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130206/abd97f0b/attachment.bin>


More information about the varnish-misc mailing list