We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlite-utils prints \r\n but it should probably print \n (unless the platform is detected as Windows?)
\r\n
\n
It has tripped me up a few times when piping the output of sqlite-utils to other programs:
$ sqlite-utils --no-headers --csv ~/lb/fs/d.db 'select path from media limit 1' | cat -A /mnt/d7/file^M$ $ sqlite-utils --no-headers --csv ~/lb/fs/d.db 'select path from media limit 1' | tr -d '\r' | cat -A /mnt/d7/file$
The text was updated successfully, but these errors were encountered:
sorry i was wrong. sqlite-utils --raw-lines works correctly
sqlite-utils --raw-lines
sqlite-utils --raw-lines :memory: "SELECT * FROM (VALUES ('test'), ('line2'))" | cat -A test$ line2$ sqlite-utils --csv --no-headers :memory: "SELECT * FROM (VALUES ('test'), ('line2'))" | cat -A test$ line2$
I think this was fixed somewhat recently
Sorry, something went wrong.
No branches or pull requests
sqlite-utils prints
\r\n
but it should probably print\n
(unless the platform is detected as Windows?)It has tripped me up a few times when piping the output of sqlite-utils to other programs:
The text was updated successfully, but these errors were encountered: