\o

The \o meta-command is used to control where vsql directs its query output. The output can be written to a file, piped to a shell command, or sent to the standard output.

\o FILE sends all subsequent query output to FILE.

\o | COMMAND pipes all subsequent query output to a shell COMMAND.

\o with no argument closes any open file or pipe, and switches back to normal query result output.

Notes

See Also