<div dir="ltr"><div class="gmail_extra"><br clear="all"><div>Dave Cramer</div>
<br><div class="gmail_quote">On 29 October 2014 13:18, Jamon Camisso <span dir="ltr"><<a href="mailto:jamon.camisso@utoronto.ca" target="_blank">jamon.camisso@utoronto.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2014-10-29 12:13 PM, Myles Braithwaite wrote:<br>
> Dave Cramer wrote:<br>
>> Is there anything out there that is written simply ? By this I mean I<br>
>> don't want to have to install a framework or a jvm or any large<br>
>> dependencies. Ideally this would be written in bash or the like.<br>
><br>
> You could use the sqlite. Running something like:<br>
><br>
> #!/bin/sh<br>
> sqlite3 log.db 'INSERT INFO log (message) VALUES ($MESSAGE);'<br>
><br>
> in a table setup like this:<br>
><br>
> CREATE TABLE log (<br>
>       id INTEGER PRIMARY KEY,<br>
>       timestamp DATETIME DEFAULT CURRENT_TIMESTAMP,<br>
>       message TEXT<br>
> );<br>
<br>
</span>What if $MESSAGE == 'foo); DELETE FROM log;'<br>
<br>
Just saying.. :p<br></blockquote><div><br></div><div>good point, this is an internal tool, so probably not a real issue. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
---<br>
GTALUG Talk Mailing List - <a href="mailto:talk@gtalug.org">talk@gtalug.org</a><br>
<a href="http://gtalug.org/mailman/listinfo/talk" target="_blank">http://gtalug.org/mailman/listinfo/talk</a><br>
</div></div></blockquote></div><br></div></div>