hi, all.
for a project, i wanted to be able to easily query the contents of a
table in an org-mode document from the shell. in case that it might be
useful to others, the result is:
----
https://gitlab.com/minshall/org-query
----
the beginning of the help output is:
----
usage: org-query -h|--help
: org-query [-f|--field column] [--complement] [--regexp] file
[[table:]column] key
: org-query -t|--tables file
: org-query -c|--columns file [table[:]]
: org-query -k|--keys file [[table:]column]
----
it works for my use cases (obviously), but i'm sure it will break, or be
feature-deficient, for those of others. i'd be happy to try to fix
bugs.
cheers, Greg
ps -- if anyone knows how to get gitlab.com to recognize org-mode
footnotes (in particular, of the [fn::"this is a footnote"]-variety), my
readme.org file would be pleased to hear.