emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* diff in `src' blocks
@ 2013-05-13  7:33 Oliver Večerník
  2013-05-13  8:07 ` Oliver Večerník
  2013-05-13  8:30 ` Achim Gratz
  0 siblings, 2 replies; 9+ messages in thread
From: Oliver Večerník @ 2013-05-13  7:33 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

in the following org file the second block gets not exported (tested with
text and html exporter, release_8.0.2-119-g646f1a):

--8<---------------cut here---------------start------------->8---
#+OPTIONS: toc:nil author:nil

#+BEGIN_SRC sh :exports results :results output
cat testdiff.txt.orig
#+END_SRC

#+BEGIN_SRC sh :exports results :results output
diff testdiff.txt.orig testdiff.txt
#+END_SRC

#+BEGIN_SRC sh :exports results :results output
diff testdiff.txt.orig testdiff.txt | cat
#+END_SRC

#+BEGIN_SRC sh :exports results :results output
ls testdiff.*
#+END_SRC
--8<---------------cut here---------------end--------------->8---

			       __________

				TESTDIFF
			       __________


,----
| asdf
| ghjk
`----

,----
| 1c1
| < asdf
| ---
| > qwer
`----

,----
| testdiff.html
| testdiff.org
| testdiff.txt
| testdiff.txt.orig
`----

Why is the `diff' command alone not exported while the piped `diff' via
`cat' works?  Is this this a bug?

-- 
Regards,
Oliver

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

end of thread, other threads:[~2013-05-14  9:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13  7:33 diff in `src' blocks Oliver Večerník
2013-05-13  8:07 ` Oliver Večerník
2013-05-13  8:32   ` Achim Gratz
2013-05-13  9:29     ` Oliver Večerník
2013-05-13  8:30 ` Achim Gratz
2013-05-13 17:59   ` Achim Gratz
2013-05-13 19:23     ` Samuel Wales
2013-05-14  9:07     ` Michael Brand
2013-05-14  9:12       ` Michael Brand

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).