Hi Eric!
2011/8/28 Eric Schulte :
>
> #+source: last-of-stuff
> #+begin_src sh :var input=stuff
> echo "$input" |tail -1
> #+end_src
>
> | one |
> | two |
> | 3 |
> #+TBLFM: @3$1='(sbe last-of-stuff)
Your solution works very well.
Thanks!
Henri-Paul
--
Henri-Paul Indiogine
Curriculum & I
Henri-Paul Indiogine writes:
> Hi Eric!
>
> 2011/8/26 Eric Schulte :
>> sh code blocks are different in that they don't really have a ":results
>> value" option in the same way as most code blocks. Two options would be
>> to either
>> 1. remove the "echo $HOME" line from your code blocks, or
>>
Hi Eric!
2011/8/26 Eric Schulte :
> sh code blocks are different in that they don't really have a ":results
> value" option in the same way as most code blocks. Two options would be
> to either
> 1. remove the "echo $HOME" line from your code blocks, or
> 2. change the '(sbe "test-sh") formula to
Henri-Paul Indiogine writes:
> I am trying to have the final output of several bash script appear in
> a summary table.
>
> I am trying to follow this example:
> http://orgmode.org/worg/org-contrib/babel/intro.html#spreadsheet
>
> This is my test system:
>
> -8<---
I am trying to have the final output of several bash script appear in
a summary table.
I am trying to follow this example:
http://orgmode.org/worg/org-contrib/babel/intro.html#spreadsheet
This is my test system:
-8<--->8-
#+tbln