1

The output of the shell commands is displayed as table. How can I have it displayed as "simple" lines of text ?

enter image description here

2
  • Try :results verbatim Commented Jan 17, 2021 at 14:14
  • thks. Good for me ! Commented Jan 20, 2021 at 14:16

1 Answer 1

1

I usually use #+begin_shell :results drawer which wraps the results in a drawer. You can also use :results raw but that has some disadvantages: Org mode does not know where the results end, so you cannot delete them with org-babel-remove-result.

You can also use a different wrapper, e.g. #+begin_shell :results drawer :wrap example will wrap the results in a

#+begin_example ... #_end_example 

block.

4
  • Thks. Good for to know. Commented Jan 20, 2021 at 14:16
  • Great, but can I have this redirect as part of the header, cause I never want any output in a popup buffer;) Commented Feb 8, 2023 at 11:11
  • I don't understand your question, but in any case, you should ask it (with all the approriate details) as a new question, not as a comment to an answer for a different question. Commented Feb 8, 2023 at 12:51
  • OK, I see you did ask the question separately, it has received an answer and you have accepted it, so everything is good. You might want to delete your comment now. Commented Feb 8, 2023 at 13:10

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.