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 <yanta...@posteo.net> wrote:

> Sławomir Grochowski <slawomir.grochow...@gmail.com> 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 your example is not the whole output. The variant
> with :dir has many more files, right? If so, check out
> `org-babel-min-lines-for-block-output'.
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>

Reply via email to