#+begin_src prep
#@ ```
#@ test -e /tmp/hello && rm /tmp/hello
#@ ```
#+end_src
#+begin_src cfengine3
body agent control
{
        inform => "true";
}
bundle agent __main__
{
  files:
      "/tmp/hello"
        content => "Output from stat: $(with)",
        with => execresult( 'stat -c "%U" /', "useshell" );
}
#+end_src
#+begin_src example_output
#@ ```
#@    info: Created file '/tmp/hello', mode 0600
#@    info: Updated file '/tmp/hello' with content 'Output from stat: root'
#@ ```
#+end_src
