Eric S Fraga <e.fr...@ucl.ac.uk> 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 your external script can do that, it should work. > > As in: > > #+BEGIN_SRC sh :results output raw > echo "|marie|Curie|123" > echo "|louis|De Broglie|456" > #+END_SRC > > #+RESULTS: > | marie | Curie | 123 | > | louis | De Broglie | 456 |
For what ever reason, the external script has an option to add "|" at the end of each line, but not at the beginning. However, I can just pipe the output through 'sed' to get one at the beginning, so all is well. Thanks for the help! Cheers, Loris -- This signature is currently under construction.