Override newline delimiter
d10xa opened this issue · 1 comments
d10xa commented
echo "x,1;y,2;z,3" | q -d "," "select * from -"
will produce x,1;y,2;z,3
is it possible to perceive another character at the end of the line?
bitti commented
The solution is not q
specific but works in general in UNIX like systems. Just combine with another tool, here tr
:
$ echo "x,1;y,2;z,3" | tr ';' '\n' | q -d "," "select * from -"
x,1
y,2
z,3