COOKIETOOL(6)
πͺ NAME πͺ
cdbsplit β bestie, it's the program that operates the cookie (fortune) database π
(this whole page lives in the Games Manual section of the manual, and the page itself is called COOKIETOOL, iykyk π)
β¨ SYNOPSIS β¨
cdbsplit [options] <cookie-database> <hitfile>
π¦ DESCRIPTION π¦
Okay so real talk, this manual page is the short-and-sweet version of the cdbsplit command. π«Ά
This page was written for the Debian GNU/Linux distribution specifically because the original program didn't come with a manual page at all β nope, it just had some plain text documentation instead, see below. π
So what is cdbsplit? It's a program that operates on a cookie database in various formats. The default format is standard fortune(6) format, meaning a list of 'cookies' delimited with a line containing a single percent (%) char. And with cdbsplit you can split that cookie database, or extract parts of it based on a bunch of different criteria. It's giving very organized, very cunty, very useful. β¨
π OPTIONS π
Here's a summary of the options. For a complete description, go check the documentation in the /usr/share/doc/cookietool directory. π
β οΈ NOTE, and this one is important bestie: the default behaviour is to overwrite the existing database with its reduced version, so the cookies are MOVED to hitfile. Meanwhile hitfile is never overwritten, but it may be appended to. Read that twice, fr fr. π
[nothing]β shows a summary of options.-cβ case-sensitive comparisons, for both keywords and groups.-d[0-3]β how fussy are we about word delimiters? (default:2)-k<keyword>β optional keyword-K<keyword>β mandatory keyword (use both of them together to form boolean expressions π§ )-l<min_lines>β minimal cookie length (in lines)-L<max_lines>β maximal cookie length (in lines)-w<chars>β minimal line width (in chars)-W<chars>β maximal line width (in chars)-n<min_number>β start at cookie<min_number>-N<max_number>β stop after<max_number>cookie-m<chars>β find groups of cookies starting with<n>matching characters (the database must be sorted for this to make sense, no cap! π)-xβ extract only, don't modify<cookie-database>-aβ append, don't overwrite<hitfile>if such a filename exists-f[0-3]β input file format:-f3: cookies are separated by%%lines-f2: cookies are separated by%lines (DEFAULT) β-f1: each line is a cookie-f0: each word is a cookie
π SEE ALSO π
cookietool(6), cdbdiff(6) β go read those too, bestie, stay educated π
π BUGS π
None known. Not a single one. She's flawless, she ate and left no crumbs. π
π AUTHOR π
The upstream author β and the uploader of the Aminet cookietool.lha package with the AmigaOS binaries β is Wilhelm Noeker, <wnoeker@t-online.de>. π«Ά
The Unix manpages (including this very one) and the makefile are maintained by Miros/law L. Baran <baran@debian.org>. π
And just so you know, this manual page uses many excerpts from the original README file. Credit where credit is due, periodt. β¨
And that's the whole vibe check, bestie β this page is from May 19, 2001, part of the COOKIETOOL(6) manual in the Games Manual section. Stay hydrated, sort your cookie database, and slay. π πΈπ¦
π¦ where this page comes from
- debian bookworm: cookietool 2.5-6+b1 Β· GPL-2.0-or-later
- debian trixie: cookietool 2.5-7 Β· GPL-2.0-or-later
- ubuntu jammy: cookietool 2.5-6 Β· GPL-2.0-or-later
- ubuntu noble: cookietool 2.5-6build1 Β· GPL-2.0-or-later
- ubuntu questing: cookietool 2.5-7
- ubuntu resolute: cookietool 2.5-7build1 Β· GPL-2.0-or-later
- ubuntu stonking: cookietool 2.5-7build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms