[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] Piping from sh code to shell?
From: |
Eric Schulte |
Subject: |
Re: [O] [babel] Piping from sh code to shell? |
Date: |
Wed, 13 Jul 2011 11:43:43 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Rainer,
I am not entirely sure what you are asking, but there is currently no
support for piping portions of code blocks to a shell. sh code blocks
do however support session evaluation, which could be similar.
Best -- Eric
Rainer M Krug <address@hidden> writes:
> Hi
>
> this is not strictly an org-babel question - but here is it anyway.
>
> If I have an sh code block as follow
>
> #+begin_src sh
> TXT="Hello World"
> echo $TXT
> #+end_src
>
> and enter it with C-c ' --- is there a way of piping single lines, regions,
> the whole block to a shell, similar to the functionality provided by ESS and
> R?
>
> Thanks,
>
> Rainer
--
Eric Schulte
http://cs.unm.edu/~eschulte/