> You can't put dot-commands on the command line. Try: I think you can with something like this (assuming your shell is bash):
echo $'.mode csv\nselect * from selected limit 4' | sqlite3 test.db Pavel On Tue, May 4, 2010 at 1:11 PM, Jay A. Kreibich <j...@kreibi.ch> wrote: > On Tue, May 04, 2010 at 10:02:06AM -0700, Matt Young scratched on the wall: > >> sqlite3 test.db ".mode csv select * from selected limit 4" >> >> Makes sqlite choke because I do not know what the inline terminator is >> for a text invocation argument, > > You can't put dot-commands on the command line. Try: > > $ sqlite3 -csv test.db "select * from selected limit 4" > >> and can't find it in the docs. > > $ sqlite3 --help > > > -j > > -- > Jay A. Kreibich < J A Y @ K R E I B I.C H > > > "Our opponent is an alien starship packed with atomic bombs. We have > a protractor." "I'll go home and see if I can scrounge up a ruler > and a piece of string." --from Anathem by Neal Stephenson > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users