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:
| Column | Type | Modifiers |
|----------+---------+-----------|
| id | integer | |
| subject | citext | |
| articles | bigint | |
Regards
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you. (Psalm 63:3)