[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-recutils] Deprecate recinf ?
From: |
Jose E. Marchesi |
Subject: |
Re: [bug-recutils] Deprecate recinf ? |
Date: |
Thu, 09 Aug 2012 20:14:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
> Frontends like sqlite3 or psql have separate non-SQL commands for
> showing table schemas. This suggests that an user might not look for
> the tool for "[s]electing records" to do this.
>
> What do these schemas contain? Maybe we could inspire some new
> functionality for recinf in these separated facilities.
sqlite3's .schema shows the CREATE statements, can be limited to tables
with names matching a pattern. psql's \d and its many variants can show
the same data in a different format. This seems equivalent to showing
the record descriptor.
Would be nice to support wildcards in the -t option of recinf, something
like:
$ recinf -t 'System*' tables.rec
SystemUser 10
SystemPassword 120
System...
--
Jose E. Marchesi http://www.jemarch.net
GNU Project http://www.gnu.org