emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug?? #+begin_src sh :file


From: Charles Millar
Subject: [O] Bug?? #+begin_src sh :file
Date: Sat, 16 Sep 2017 09:09:44 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]