From: Tobias Frischholz <tobias@friolz.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: shell scripts in yasnippet?
Date: Thu, 3 Sep 2015 17:06:45 +0200 [thread overview]
Message-ID: <16A16A59-258B-4A8F-9E8F-F2D82B9735CB@friolz.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 415 bytes --]
Hi there,
right now I’m tinkering around with yasnippet.
I was wondering if there’s a possibility to run a shell script and write its results in the text file.
Specifically, I’m want to run “fortune” and put the results in a #+BEGIN_QUOTE…#+END_QUOTE block.
Would that be possible?
Best regards,
Tobias Frischholz
PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?search=0xCD463AC1&op=index
[-- Attachment #2: Type: text/html, Size: 1335 bytes --]
next reply other threads:[~2015-09-03 15:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-03 15:06 Tobias Frischholz [this message]
2015-09-04 13:20 ` shell scripts in yasnippet? John Kitchin
[not found] ` <26CFED0F-553B-4E68-9006-E2A705FE8903@friolz.com>
[not found] ` <m28u8m2au0.fsf@johns-air.wv.cc.cmu.edu>
[not found] ` <930BB4CD-C957-45BA-8396-B79FAA8B7727@friolz.com>
[not found] ` <CAJ51ETrgz44VpAVTBFsbUo4yrGrUQEn5CxjRXdyu9dknJBNETQ@mail.gmail.com>
[not found] ` <7522ECBF-F9AB-4262-B6AF-58536E6C4D45@friolz.com>
2015-09-06 16:34 ` 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=16A16A59-258B-4A8F-9E8F-F2D82B9735CB@friolz.com \
--to=tobias@friolz.com \
--cc=emacs-orgmode@gnu.org \
/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).