> To answer my own question, I still don't know if this is 'best
> practice', but this worked for me quite well:
>
> #+BEGIN_SRC sh :exports results :results output
> ssh cat /etc/iptables/iptables.rules | sed 's/pattern/string/'
> #+END_SRC
oops, useless use of cat:
#+BEGIN_SRC sh :exports resu
> I like to include files from the network to document their status at the
> time of publication e.g.:
>
> #+INCLUDE: "/:/etc/iptables/iptables.rules" example
>
> But sometimes I'd like to do some more filtering (sed, whatever), to
> remove passwords or other sensible information from the output.
Hi,
I like to include files from the network to document their status at the
time of publication e.g.:
#+INCLUDE: "/:/etc/iptables/iptables.rules" example
But sometimes I'd like to do some more filtering (sed, whatever), to
remove passwords or other sensible information from the output. Is
th