Re: [O] preserve trailing zeros in table output from shell script
On Sat, Jul 14, 2012 at 2:35 PM, Joseph A. Cua ja...@cornell.edu wrote: I have a reporting shell script that generates a tab-delimited table. Using it within a shell code block, org parses this nicely into an org table. But org seems to drop any trailing zeros from numeric cells. My reporting script has already done the number formatting, so I want trailing zeros preserved (both within org and in html export). What's the best way? Some examples would help. -- Suvayu Open source is the future. It sets us free.
Re: [O] preserve trailing zeros in table output from shell script
Joseph A. Cua ja...@cornell.edu writes: I have a reporting shell script that generates a tab-delimited table. Using it within a shell code block, org parses this nicely into an org table. But org seems to drop any trailing zeros from numeric cells. My reporting script has already done the number formatting, so I want trailing zeros preserved (both within org and in html export). What's the best way? If you want to return the numbers as strings *and* you want the results to be captured as an Org-mode table, then you should use the :results org output type so that you have complete control over the table. For example, #+begin_src sh :results output org :exports results cat EOF | 1. | 22.000 | | 333.00 | .0 | EOF #+end_src Best, -- Eric Schulte http://cs.unm.edu/~eschulte
[O] preserve trailing zeros in table output from shell script
I have a reporting shell script that generates a tab-delimited table. Using it within a shell code block, org parses this nicely into an org table. But org seems to drop any trailing zeros from numeric cells. My reporting script has already done the number formatting, so I want trailing zeros preserved (both within org and in html export). What's the best way? Thanks, Joe