unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to create orgtbl from that
@ 2015-08-26  9:17 Paul K
  2015-08-26 19:28 ` Paul K
  0 siblings, 1 reply; 2+ messages in thread
From: Paul K @ 2015-08-26  9:17 UTC (permalink / raw)
  To: help-gnu-emacs

Hallo people:

text data looks like following:

  col1            col2     col3
  nm              srm      dt
  ----------------- ---------- -----------
  raw1 for       col2     col3
  col1 comes             here
  here

  raw2            col2     col3
  is here         ok


- no special character separates the columns. The only information
about columns is kept by ---dashes-with-space--- line.
- empty line is separator between records. All other lines start with 2 spaces.
- table is NOT postfix-aligned with space characters, ie. after `here`
and `ok` there are no space characters.
- there are more columns and rows in my real table than in this example.
- 2 spaces at the beginning of lines do not have to be preserved in result.

I need to convert this data into orgtbl table. The best would be some
elisp macro.

Have You some ideas how to do this?

reagards,
Paul



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-26 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26  9:17 how to create orgtbl from that Paul K
2015-08-26 19:28 ` Paul K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).