#!/bin/bash if [ "${1-}" = "--short" ] then shift varnishncsa ${1:+-q "$1"} -F 'Cache %{X-Cache}o %{X-Cache-Hits}o\t%m http://%{Host}i%U %s' else varnishncsa ${1:+-q "$1"} -F 'Cache %{X-Cache}o %{X-Cache-Hits}o\t%m http://%{Host}i%U %s "%{X-Cachewall-Match}i" "%{Cache-Control}o"' fi