[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline |
Date: |
Mon, 04 Dec 2023 13:58:53 +0000 |
Matt <matt@excalamus.com> writes:
> > #+begin_src bash :cmdline 1 2 3
> > printf "%s\n" "$1"
> > #+end_src
> >
> > #+RESULTS:
> > : 1
> >
> > #+begin_src bash :cmdline 1 2 3 :shebang #!/bin/bash
> > printf "%s\n" "$1"
> > #+end_src
> >
> > #+RESULTS:
> > : 1 2 3
>
> Thank you! This makes a good test case.
I am confused. Isn't it a bug?
--
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>
- Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline,
Ihor Radchenko <=