Simple database

Nifty Hat Mitch mitch48 at sbcglobal.net
Thu Jul 22 16:39:35 UTC 2004


On Tue, Jul 20, 2004 at 05:56:42AM -0700, Timothy Payne wrote:
> 
> Is anyone using a simple database on FC2?  I have a pile of notes on my
> desk from tips on this list and changes.  It would be nice if it could
> import files so I could use it for other things, but I just want to set
> up a few fields and be able to search through them.

A pile of notes sounds like a pile of text files.

Organize them in a directory with sane file names.

Edit them into a simple but consistant format that permits
you to search with 'grep'.

If you want to think about fields use an XML/HTML sort of structure to
tag blocks of text and key words.

    <Title> Good title </Title>
    <Index> word list </Index>

Once you do this sort of homework it begins to make sense how you wish
to import this stuff into a data base.  The data base might only
contain key words and file names.  It need not contain the full text
of the files.

You can also look at them as if they were man pages.
See man -k.



-- 
	T o m  M i t c h e l l 
	/dev/dull where insight begins.





More information about the fedora-list mailing list