Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
int0x80
· 8y ago · 0 comments
Looks good. I miss beeing able to pipe sql to the client via stdin. At least I didnt see it in the README.
Comments
[–]
projektfu
8y ago
I didn't run it, but in the code it appears to take commands from stdin, but if they're coming from a TTY (interactive), they are processed through readline. The "-f -" trick didn't seem to be supported by the code.
[–]
kenshaw
8y ago
Yes, it reads from STDIN. If it doesn't, it's a bug, and please file an issue on GitHub.
[–]
int0x80
OP
8y ago
Thanks! Didnt try it, just couldnt find it in the examples.