From: Charles Millar <millarc@verizon.net>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Bug?? #+begin_src sh :file
Date: Sat, 16 Sep 2017 09:09:44 -0400 [thread overview]
Message-ID: <495e460e-4d4c-9468-64cd-6f1cb37dc7ad@verizon.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 545 bytes --]
Hi,
The following ECL is based on Grant Rettke's Org Scraps -
https://eschulte.github.io/org-scraps/scraps/2011-02-15-recutils.html
#+begin_src sh :file this.txt
cat << EOF > this.txt
1
2
3
EOF
#+end_src
When I execute the code block the file "this.txt" is created and so is a
link, i.e.
#+RESULTS:
_file:this.txt
_However, the file is empty. According to the documentation for :file I
expected the following in "this.txt"
1
2
3
I tried :exports results but this.txt is still empty
A bug? Or what am I missing?
Charlie Millar
__
[-- Attachment #2: Type: text/html, Size: 1143 bytes --]
next reply other threads:[~2017-09-16 13:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-16 13:09 Charles Millar [this message]
2017-09-16 13:46 ` Bug?? #+begin_src sh :file Thierry Banel
2017-09-16 16:59 ` Achim Gratz
2017-09-16 18:55 ` Grant Rettke
2017-09-17 0:28 ` Charles Millar
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=495e460e-4d4c-9468-64cd-6f1cb37dc7ad@verizon.net \
--to=millarc@verizon.net \
--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).