[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DISCUSSION] The meaning of :cmdline header argument across babel ba
From: |
Ihor Radchenko |
Subject: |
Re: [DISCUSSION] The meaning of :cmdline header argument across babel backends |
Date: |
Thu, 27 Jun 2024 14:57:59 +0000 |
Ihor Radchenko <yantar92@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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [DISCUSSION] The meaning of :cmdline header argument across babel backends,
Ihor Radchenko <=