Ihor Radchenko <yanta...@posteo.net> writes: >> #+header-arg: :results verbatim >> #+begin_src sh :cmdline 1 ; touch /tmp/not-an-arg >> printf '%s\n' "$@" >> #+end_src >> >> #+RESULTS: >> : 1 >> >> "touch ..." *are not arguments of the script*. So users should be >> careful to get documented behavior. > > I do not see any way to address this concern without introducing feature > regression. So, let's keep things as they are and maybe document that > :cmdline ... is passed verbatim as shell command.
https://git.sr.ht/~bzg/worg/commit/1c6390fc -- 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>