BSD Ports

textproc/trdsql 1.2.3 OpenBSD

run SQL queries on CSV, LTSV, JSON, YAML and TBLN

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Kirill A. Korinsky <[email protected]>
Categories
textproc, databases, lang/go

Description

trdsql is a CLI tool that can execute SQL queries on CSV, LTSV, JSON, YAML and TBLN files.

This tool is similar to others such as q and textql, with a key distinction: it allows the use of PostgreSQL or MySQL syntax.

For more information, see ${PREFIX}/share/doc/trdsql/README.md or https://pkg.go.dev/github.com/noborus/trdsql

In the other systems

SystemPortVersion
OpenBSDtextproc/trdsql1.2.3
FreeBSDtextproc/trdsql0.20.0_27
DragonFlytextproc/trdsql0.20.0_4

Install

Binary package:

pkg_add trdsql

From the ports tree:

cd /usr/ports/textproc/trdsql && make install

Dependencies

Build dependencies 2

No port depends on this one.