[GTALUG] capturing the output of any program and inserting in db

Stewart Russell scruss at gmail.com
Wed Oct 29 19:07:52 UTC 2014


On Oct 29, 2014 12:13 PM, "Myles Braithwaite" <me at mylesbraithwaite.com>
wrote:
>
> #!/bin/sh
> sqlite3 log.db 'INSERT INFO log (message) VALUES ($MESSAGE);'

Very nice. Thank you. This would have saved me much mucking about with 'ts'
on my power monitor.

Stewart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/talk/attachments/20141029/144e7a79/attachment.html>


More information about the talk mailing list