From mboxrd@z Thu Jan 1 00:00:00 1970 From: ST Subject: Re: Parsing org table from Linux command line Date: Mon, 11 Dec 2017 11:37:12 +0200 Message-ID: <1512985032.3675.0.camel@gmail.com> References: <1512936461.1644.43.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOKWV-0008LH-Vr for Emacs-orgmode@gnu.org; Mon, 11 Dec 2017 04:37:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOKWS-0004aD-Sc for Emacs-orgmode@gnu.org; Mon, 11 Dec 2017 04:37:19 -0500 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:44895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOKWS-0004Zk-Ky for Emacs-orgmode@gnu.org; Mon, 11 Dec 2017 04:37:16 -0500 Received: by mail-wr0-x22a.google.com with SMTP id l22so16797387wrc.11 for ; Mon, 11 Dec 2017 01:37:16 -0800 (PST) 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" To: John Kitchin Cc: Emacs-orgmode@gnu.org Thank you very much! Is py_org_table.py part of a bigger library? Where can I find it? Thank you! On Sun, 2017-12-10 at 18:12 -0800, John Kitchin wrote: > Check out Listing 7 in > http://pubs.acs.org/doi/pdf/10.1021/acscatal.5b00538. > > It is a pretty minimal Python script to get data from a table. You could > then use it to print column 3 to stdout maybe so it could get piped to > mail, or build up some command you can call. > > ST writes: > > > Hello, > > > > I have an org table and its third column are emails. I would like to > > send an email from command line (with the "mail" cli tool) to all those > > addresses. > > > > 1. How do I extract them from the table and pass to CC of "mail"? > > > > 2. Is the same possible somehow if I have several tables with different > > #+TBLNAMEs: in the same file? > > > > Thank you in advance! > >