For the record, I've tidied the script a little - mostly by moving all the logging to a separate function, but also with better comments. It's functionally identical the earlier version, so can replace the earlier version without any other changes - it's just easier to read.
It's too long to post here, so I've attached it as a file. +-------------------------------------------------------------------+ |Filename: SQLITE-control.sh.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=33440| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113661 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix