Re: [O] filter included files

2013-05-11 Thread Oliver Večerník
> 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

Re: [O] filter included files

2013-05-11 Thread Oliver Večerník
> 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.

[O] filter included files

2013-05-10 Thread Oliver Večerník
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