On 9 May 2018, at 7:32pm, John McKown <john.archie.mck...@gmail.com> wrote:
> The sqlite3 command has a input command to ".read" a file which "contains > SQL in FILENAME". I am wondering why there isn't an equivalent command line > argument to do this. That is, have something like: > > sqlite3 -f FILENAME database.db3 > > which would do the same as: > > sqlite3 database.db3 > sqlite> .read FILENAME > sqlite> .quit You can use the piping facilities of your command shell. Depending on which OS and shell you're using, it might be something like sqlite3 database.db3 < FILENAME Simon. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users