Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-13 Thread Kaushal Modi
Hi Charles, Thomas, Thank you for the replies. They were very useful. I learned about :post for the first time. That minimal example worked great. Earlier I was confused about "*this*", but then from Info node "(org) post", I learned that it's a special variable for :post. For now, ":results ver

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Charles C. Berry
On Sun, 12 Jun 2016, Thomas S. Dye wrote: Aloha Kaushal, Kaushal Modi writes: [deleted] So what determines if the results should be table formatted or kept verbatim (scalar)? -- I think I'm correct to say that by default a single value result is output as a scalar, and everything else i

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Thomas S. Dye
Aloha Kaushal, Kaushal Modi writes: > On Sun, Jun 12, 2016 at 2:22 PM Thomas S. Dye wrote: > > Aloha Kaushal, > > There are four classes of :results header arguments. :results replace > refers to how the results are handled. :results verbatim refers to the > type of result return

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Kaushal Modi
On Sun, Jun 12, 2016 at 2:22 PM Thomas S. Dye wrote: > Aloha Kaushal, > > There are four classes of :results header arguments. :results replace > refers to how the results are handled. :results verbatim refers to the > type of result returned. > Hi Thomas, Yes, I learned that from the org inf

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Thomas S. Dye
Aloha Kaushal, Kaushal Modi writes: > Hi all, > > I learnt that I need to have ":results verbatim" as a header argument for awk > source blocks. But I don't understand why I need that in the first place. > > The default value of :results is replace. Then why is it converting the awk > results to

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Kaushal Modi
Hi all, I learnt that I need to have ":results verbatim" as a header argument for awk source blocks. But I don't understand why I need that in the first place. The default value of :results is replace. Then why is it converting the awk results to org tables? Thanks. Kaushal > -- -- Kaushal M

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Kaushal Modi
Correction: ":results verbatim" On Sun, Jun 12, 2016 at 2:59 AM Kaushal Modi wrote: > Bummer, found it; needed " :results raw" header arg > > On Sun, Jun 12, 2016 at 2:46 AM Kaushal Modi > wrote: > >> Hi, >> >> I am running the latest builds of emacs-25 branch and org master branch. >> >> I use

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Kaushal Modi
Bummer, found it; needed " :results raw" header arg On Sun, Jun 12, 2016 at 2:46 AM Kaushal Modi wrote: > Hi, > > I am running the latest builds of emacs-25 branch and org master branch. > > I used ob-awk for the first time today and was surprised to see that the > #+RESULTS: were displayed as o

[O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-11 Thread Kaushal Modi
Hi, I am running the latest builds of emacs-25 branch and org master branch. I used ob-awk for the first time today and was surprised to see that the #+RESULTS: were displayed as org tables. I do not know if that is due to ob-awk or ob-core and so am posting it here. Here is the minimum working