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 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 . > Support Org development at , > or support my work at >