[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline
From: |
Matt |
Subject: |
Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline |
Date: |
Sat, 18 Nov 2023 19:09:19 +0100 |
User-agent: |
Zoho Mail |
---- On Sat, 18 Nov 2023 16:54:39 +0100 Max Nikulin wrote ---
> I have faced an inconsistency with :cmdline treatment in ob-shell.el. I
> expect same results in the following cases:
>
> #+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.
Ihor or Bastion, Craig and my employer reached agreement on the disclaimer
language. I've sent a signed copy to Craig and haven't heard back yet with the
go-ahead to continue contributing. I sent the paperwork only a week or so ago,
so I'm sure he'll get back to me in time. Because of this, I'm including
patches rather than pushing (which assumes I still have access (I haven't
checked)).
test-cmdline-alone-and-with-shebang-have-same-result.patch
Description: Binary data