Hello Johann, Johann Spies writes:
> In the normal shell, I can do: > > echo '\d wos.wos_papers_by_subject_mv' | psql -h localhost -p 63334 > book_citation | grep '[+|]' > > and get the output: > > Column | Type | Modifiers > ----------+---------+----------- > id | integer | > subject | citext | > articles | bigint | > > When I try this in org-mode: > > > #+BEGIN_SRC sh > > echo '\d wos.wos_papers_by_subject_mv' | psql -h localhost -p 63334 > book_citation | grep '[+|]' > > > #+END_SRC > > #+results: > | Column | | | Type | | | Modifiers | > | ----------+---------+----------- | | | | | | | > | id | | | integer | | | | > | subject | | | citext | | | | > | articles | | | bigint | | | | > > What should I do to get the following in org-mode as a result: You could try out some of the options for the ":results" header argument, as described here: http://orgmode.org/manual/results.html#results Myles