A cat(1) equivalent for viewing sqlite database.
-
cargo: Install cargo from Here!
$ cargo install dbcat
NetBSD (Official repositories)
pkgin install dbcator, if you prefer to build it from source
cd /usr/pkgsrc/textproc/dbcat
make installRead the database simply by running
$ dbcat <filename>.dbChange the format of the output by choice or automatically if the output is a tty or not.
Access individual tables by running
$ dbcat [-t <table>] <filename>.dbPass a filter query to filter the tables by running
$ dbcat [-t <table>] -f <query> <filename>.dbUse dbcat --help to see the help.
Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.




