On Mon, Mar 20, 2006 at 10:30:54AM -0800, Ted Unangst wrote:
> On 3/20/06, Joachim Schipper <[EMAIL PROTECTED]> wrote:
> > > now my question: should i use sqlite or a textfile and awk for this?
> >
> > Whatever you feel most comfortable with, but databases are not
> > necessarily easy to get up in the face of disaster and your dataset is
> > so small they do not produce a meaningful performance benefit.
> 
> sqlite is pretty damn easy to "get up".  i'd recommend using it, since
> it makes various queries you may want to perform very easy.

On the other hand, plain text files can be pretty much completely
manipulated by what's on the install floppy (for i386 at least). Of
course, this is painful, but quite possible.

I gues it boils down to 'what you are most comfortable with'. For me,
sed, awk and the like are very easy, and you can count on them being
available on every UNIX-ish machine you sit at. However, far be it from
me to suggest that Ted does not make a good point - it might indeed make
complex queries easier.

                Joachim

Reply via email to