Re: [O] Using Code Blocks in Org Tables

2011-08-28 Thread Henri-Paul Indiogine
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

Re: [O] Using Code Blocks in Org Tables

2011-08-28 Thread Eric Schulte
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 >>

Re: [O] Using Code Blocks in Org Tables

2011-08-26 Thread Henri-Paul Indiogine
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

Re: [O] Using Code Blocks in Org Tables

2011-08-26 Thread Eric Schulte
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<---

[O] Using Code Blocks in Org Tables

2011-08-25 Thread Henri-Paul Indiogine
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