Re: [O] sh - script: how to control the output.

2015-11-02 Thread Johann Spies
> > You could try out some of the options for the ":results" header > argument, as described here: > > http://orgmode.org/manual/results.html#results > > > Thanks Myles. After a bit of experimenting I got this to work (I have to remove the *example* lines to make a table of the output. But that

Re: [O] sh - script: how to control the output.

2015-11-02 Thread Myles English
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 | >

[O] sh - script: how to control the output.

2015-11-01 Thread Johann Spies
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