Re: Handling conversion of fields with spaces to tables

2021-12-07 Thread Eric S Fraga
On Tuesday, 7 Dec 2021 at 08:09, Loris Bennett wrote: > However, I can just pipe the output through 'sed' to get one at the > beginning, so all is well. Excellent! sed is one of the most underrated tools in our arsenal and actually highlights the great thing about org being all about text. --

Re: Handling conversion of fields with spaces to tables

2021-12-06 Thread Loris Bennett
Eric S Fraga writes: > On Monday, 6 Dec 2021 at 15:43, Loris Bennett wrote: >> That's solves the problem of the field being split, but gives me the new >> problem that the output is no longer a table :-) > > Ah, yes, sorry: you need to have each line of the output start with a > "|" as well. If

Re: Handling conversion of fields with spaces to tables

2021-12-06 Thread Eric S Fraga
On Monday, 6 Dec 2021 at 15:43, Loris Bennett wrote: > That's solves the problem of the field being split, but gives me the new > problem that the output is no longer a table :-) Ah, yes, sorry: you need to have each line of the output start with a "|" as well. If your external script can do tha

Re: Handling conversion of fields with spaces to tables

2021-12-06 Thread Loris Bennett
Hi Eric, Eric S Fraga writes: > This might work for you: > > #+BEGIN_SRC sh :results output raw That's solves the problem of the field being split, but gives me the new problem that the output is no longer a table :-) To elaborate: My goal is to combine this output with data from another tab

Re: Handling conversion of fields with spaces to tables

2021-12-06 Thread Eric S Fraga
This might work for you: #+BEGIN_SRC sh :results output raw -- : Eric S Fraga, with org release_9.5.1-243-gad53c5 in Emacs 29.0.50 : Latest paper written in org: https://arxiv.org/abs/2106.05096

Handling conversion of fields with spaces to tables

2021-12-06 Thread Loris Bennett
Hi, I have a script which I call on a remote server which produces pipe-separated data like: marie|Curie|123 louis|De Broglie|456 However, when I output this to an org table, the field with a space gets split into two cells in the result. The same effect can be seen with the following: