Yes I just simplified the example. The case is if I add :dir param it
result will be wrapped it #+begin_example #+end_example block.
On Sun, Aug 6, 2023 at 9:02 PM Ihor Radchenko wrote:
> Sławomir Grochowski writes:
>
> > I'm surprised by this behaviour.
> >
> > #+begin_src sh :results replace
Sławomir Grochowski writes:
> I'm surprised by this behaviour.
>
> #+begin_src sh :results replace output
> ls
> #+end_src
>
> #+RESULTS:
> : file1.txt
> : file2.txt
>
> Adding :dir parameter changes output RESULTS. It's now wrapped in
> #+begin_example #+end_example block.
I am pretty sure that
Dear All,
I'm surprised by this behaviour.
#+begin_src sh :results replace output
ls
#+end_src
#+RESULTS:
: file1.txt
: file2.txt
Adding :dir parameter changes output RESULTS. It's now wrapped in
#+begin_example #+end_example block.
#+begin_src sh :dir ~/ :results replace output
ls
#+end_src