Re: cdbmake isn't making anything for me

Chris Wilkes <[email protected]> Wed, 22 Aug 2007 09:56:01 -0700
Newsgroups gmane.comp.djb.cdb
Message-ID <[email protected]>
On Wed, Aug 22, 2007 at 12:11:59PM -0400, [email protected] wrote:
> 
> I have a seven-line text file named mailboxes that contains this data:
> 
> grumpy
> happy
> sneezy
> bashful
> sleepy
> dopey
> doc
> 
> I want to translate that list into a constant database file.  

In addition to the two other comments, what CDB is good for is key /
value pairs.  It looks like you just have the values there.  You want
something like this in your input:
  +2,6:me->grumpy

Chris