From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: data tables produced by shell source block Date: Wed, 12 Mar 2014 16:19:50 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNpd8-0004TH-3j for emacs-orgmode@gnu.org; Wed, 12 Mar 2014 16:20:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNpd1-0000YQ-CT for emacs-orgmode@gnu.org; Wed, 12 Mar 2014 16:19:58 -0400 Received: from mail-ie0-x232.google.com ([2607:f8b0:4001:c03::232]:64739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNpd1-0000YM-6y for emacs-orgmode@gnu.org; Wed, 12 Mar 2014 16:19:51 -0400 Received: by mail-ie0-f178.google.com with SMTP id lx4so25300iec.23 for ; Wed, 12 Mar 2014 13:19:50 -0700 (PDT) Received: from gorgonzola.whoi.edu (gorgonzola.whoi.edu. [128.128.28.197]) by mx.google.com with ESMTPSA id gd5sm1060518igd.5.2014.03.12.13.19.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Mar 2014 13:19:49 -0700 (PDT) In-reply-to: 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: org mode Ohp. Nevermind. Sorry for the noise. I have a default of ":results output", and when I set ":results value" it works. -k. On 2014-03-12 at 16:08, Ken Mankoff wrote: > The babel sh example here: > http://orgmode.org/worg/org-contrib/babel/intro.html#source-code-execution > > says (and shows), "Babel automatically converts the output into an > Org-mode table.". When I run that same code > > #+name: directories > #+begin_src sh :results replace > cd ~ && du -sc * |grep -v total > #+end_src > > I do not get a table. Rather, I get the results in two columns and a > "#+begin_example" > > #+RESULTS: directories > #+begin_example > > > Can anyone provide a working example for generating a table in shell > mode that can then be used with Python code? > > Thanks, > > -k.