-
-
Notifications
You must be signed in to change notification settings - Fork 77
Home
Noboru Saito edited this page Jan 28, 2018
·
8 revisions
Welcome to the trdsql wiki!
Execute SQL to CSV, TSV, LTSV, JSON
Ignore the space before and after the delimiter. So, it can be used in the shaping of the output of the command.
$ ps |trdsql -oat -ih -id " " "SELECT * FROM -"
+-------+-------+----------+--------+
| PID | TTY | TIME | CMD |
+-------+-------+----------+--------+
| 11704 | pts/2 | 00:00:00 | ps |
| 11705 | pts/2 | 00:00:00 | trdsql |
| 23171 | pts/2 | 00:00:27 | zsh |
+-------+-------+----------+--------+