SQLite Forum

Sending output to a pipe
It has clearly been a while since I tried this, so I was quite surprised when

.once |less

fired up the `less` command *immediately*, rendering me unable to execute the sql command I had intended to. I had expected sqlite to wait for me to type in a query, then execute the query, and finally firing up the command and piping the query output into it.

Am I doing this wrong?