It's pretty easy in Tcl

Sqlite3 db file.sqlite
while {[gets stdin line] > 0} {
    parse_line_into index content; # or whatever you do to extract content from 
the line
    db eval {INSERT INTO whatever (index, content) VALUES ($index, $content);}
}
db close

´╗┐On 2/1/18, 2:25 PM, "sqlite-users on behalf of Cecil Westerhof" 
<sqlite-users-boun...@mailinglists.sqlite.org on behalf of 
cldwester...@gmail.com> wrote:

    At the moment I have a script where I send the output of a ffmpeg command
    to the terminal and a file. Is it possible to send the output to a SQLite
    table. I like to use tcl for this.
    
    -- 
    Cecil Westerhof
    _______________________________________________
    sqlite-users mailing list
    sqlite-users@mailinglists.sqlite.org
    http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
    

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to