On Wed, Feb 19, 2020 at 7:11 AM Bastien <
bzg@gnu.org> wrote:
Hi Eric,
note that the previous behavior only _seemed_ right by chance: there
is no notion of getting the exit code of the shell command in
ob-shell.el, and returning "0" is just a hazard here, just because
(org-babel--string-to-number ".") returns "0", while it should return
nil.
Seems like I missed this long thread. After this change to org-babel--string-to-number, now (org-babel--string-to-number "1,3-5") is now returning 1 (instead of returning nil as before).