I have a org file which contains a block like this:
#+BEGIN_SRC sh :exports results :results output code
sed -n '9,36 p' ./code/convert.c
#+END_SRC
C-c C-c
on the BEGIN_SRC
will give me the following result:
#+RESULTS:
#+begin_src sh
// here is some C code
#+end_src
How to change the language of a result of ":results output code" so that I can get an output like this:
#+RESULTS:
#+begin_src C
// here is some C code
#+end_src
:results output :wrap src C
to be necessary. – Hendrika