On Sun, Jul 16, 2017 at 01:37:56PM +0200, Klemens Nanni wrote:
> This removes on level of indent, avoids the ugly RULES="$RULES ..."
> repitition and spares a print.
> 
> We could do a 'pfctl -ef -' right away but I kept changing and enabling
> clearly seperated. Regarding the leading newlines and tabs of the inner
> echo: pf perfectly munges those, no need to clear them.
> 
> The "don't" -> "do not" is neccessary since otherwise the shell would
> choke on it as opening quote.
> 
> 
> Feedback? Comments?

Nice idea. The only maby irrelevant concern I have is, that using the
here-document approach uses a temporary file and if that for some reason
fails, we end up without this or mangled rules.

Reply via email to