From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)] Date: Fri, 19 Aug 2011 21:03:57 +0200 Message-ID: <87fwkxuste.fsf@Rainer.invalid> References: <87pqk1o39w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuUMZ-0003pH-It for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 15:04:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuUMY-0007WO-Ff for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 15:04:15 -0400 Received: from lo.gmane.org ([80.91.229.12]:39818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuUMY-0007WE-A3 for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 15:04:14 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QuUMX-0001sI-KY for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 21:04:13 +0200 Received: from p57aadf3e.dip.t-dialin.net ([87.170.223.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Aug 2011 21:04:13 +0200 Received: from Stromeko by p57aadf3e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Aug 2011 21:04:13 +0200 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.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org AndrĂ¡s Major writes: > This would be most easily done using an sh block which returns a > numeric exit code. No one keeps you from using echo $? in the last line of that shell block. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves