emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: ST <smntov@gmail.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Parsing org table from Linux command line
Date: Mon, 11 Dec 2017 11:37:12 +0200	[thread overview]
Message-ID: <1512985032.3675.0.camel@gmail.com> (raw)
In-Reply-To: <m2374iqafs.fsf@andrew.cmu.edu>

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!
> 
> 

  reply	other threads:[~2017-12-11  9:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-10 20:07 Parsing org table from Linux command line ST
2017-12-11  2:12 ` John Kitchin
2017-12-11  9:37   ` ST [this message]
2017-12-11 15:36     ` John Kitchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1512985032.3675.0.camel@gmail.com \
    --to=smntov@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).