From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug or not a bug? dot expansion in ob-shell Date: Wed, 19 Feb 2020 14:43:06 +0100 Message-ID: <87ftf63d79.fsf@gnu.org> References: <87eeur3p1p.fsf@ucl.ac.uk> <87a75eap8k.fsf@gnu.org> <87y2sy3kkl.fsf@ucl.ac.uk> <87r1yq4xiz.fsf@gnu.org> <875zg2kcy0.fsf@ucl.ac.uk> <87h7zmiw0v.fsf@gmail.com> <871rqqag19.fsf@bzg.fr> <87wo8iitzz.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41453) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4Pd7-00004w-RN for emacs-orgmode@gnu.org; Wed, 19 Feb 2020 08:43:10 -0500 In-Reply-To: <87wo8iitzz.fsf@ucl.ac.uk> (Eric Fraga's message of "Wed, 19 Feb 2020 13:31:13 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: "Fraga, Eric" Cc: Tim Cross , "emacs-orgmode@gnu.org" Hi Eric, "Fraga, Eric" writes: > On Wednesday, 19 Feb 2020 at 14:00, Bastien wrote: >> Anyway, I don't have yet a clue on how to add this new option. I'll >> leave it to Eric first (if he has time) then look at it later this >> week. > > Time is an issue (middle of teaching term). More importantly, my > elisp-fu is not necessarily up to the level required. It would be best > if somebody up to speed with org babel attempt this. I will have a look. > In any case, it would be interesting to know if people do depend on > value being somehow the output of the last command in a shell > script. I'd never even considered that possibility, at least not > consciously! Note that currently (9.3) we have this: #+begin_src shell echo "Hello!" echo "What?" #+end_src #+RESULTS: | Hello! | | What? | ... so the default today is not even to consider "the last command", but the output of all commands. Have a nice week, -- Bastien