Re: cdbmake isn't making anything for me
Jos Backus <[email protected]> Wed, 22 Aug 2007 23:14:19 -0700
| Newsgroups | gmane.comp.djb.cdb |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 22, 2007 at 11:12:15AM -0700, Chris Wilkes wrote:
> So you just want to see if a particular value is in the cdb?
> awk '{print "+" length($NF) ",1:" $NF "->1" }' list.txt
> will make it in the correct format. I'm not sure how to add the needed
> blank line at the end of that, if that was possible you could then pipe
> that through
> | cdbmake list.cdb list.$$
(awk '{print "+" length($NF) ",1:" $NF "->1" }' list.txt; echo) |
cdbmake list.cdb list.$$
--
Jos Backus
jos at catnook.com