`echo ' select * from system_info ; ' | osqueryi ...
# general
u
echo ' select * from system_info ; ' |  osqueryi --line
works for me.