all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug?? #+begin_src sh :file
@ 2017-09-16 13:09 Charles Millar
  2017-09-16 13:46 ` Thierry Banel
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Charles Millar @ 2017-09-16 13:09 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-17  0:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-16 13:09 Bug?? #+begin_src sh :file Charles Millar
2017-09-16 13:46 ` Thierry Banel
2017-09-16 16:59 ` Achim Gratz
2017-09-16 18:55 ` Grant Rettke
2017-09-17  0:28   ` Charles Millar

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.