COOKIETOOL(6)

✨ COOKIETOOL ✨

okay bestie, so this is the cookietool manual page β€” it lives in the Games Manual section, and honestly? it's giving "small utility, big main character energy". πŸ’–


🌸 NAME 🌸

cookietool β€” program to operate cookie (fortune) database


πŸŽ€ SYNOPSIS πŸŽ€

cookietool [options] <database>

πŸ¦‹ DESCRIPTION πŸ¦‹

So, real talk: this manual page is just a lil brief rundown of the cookietool command. It documents the command briefly. That's the vibe. 🫢

It was written for the Debian GNU/Linux distribution because the original program literally does not have a manual page. Not me being dramatic β€” instead, it has some plaintext documentation, and you can peep below for that. 😭

cookietool is a program that should be used to sort, clear and maintain a cookie database in standard fortune(6) format. And what is that format, you ask? It's a list of cookies delimited with a line containing a single percent ('%') char. Iconic, honestly. ✨

And plot twist: cookietool can now understand another formats and convert cookie database between them. The way it just. does that. πŸ‘‘


πŸ’… OPTIONS πŸ’…

Here's a lil summary of options, bestie. For a complete description, go read the documentation in the /usr/share/doc/cookietool directory. fr fr. πŸ“š

  • [nothing] β€” Shows summary of options. Yep, no args at all, and it just tells you what's up.
  • -c β€” case sensitive comparisons.
  • -d[0-3] β€” how fussy about word delimiters? (default: 2)
  • -b β€” delete cookies that are 'abbreviations' of another, too.
  • -p β€” passive, don't delete anything. it's in its no-confrontation era πŸ•ŠοΈ
  • -s[l|w|<sep>|s] β€” sort cookies; looking after last line only; looking after last word only; starting after the last <sep>, e.g. '-s--'; by size.
  • -a β€” treat 'abbreviations' as doubles (i.e. delete them from the database, too).
  • -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.
  • -F[0-3] β€” force output in a different file format, see -f.
  • -o β€” overwrite directly without temporary file. CAUTION NEEDED.
⚠️ bestie. that last one. -o overwrites directly, no temporary file, no safety net, no lil backup boyfriend. CAUTION NEEDED. I am literally begging you to read that twice. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

cdbdiff(6), cdbsplit(6)


πŸ’€ BUGS πŸ’€

None known. (the way this program is simply flawless, we love to see it 🌈)


🫢 AUTHOR 🫢

Upstream author β€” and the uploader of the Aminet cookietool.lha package with AmigaOS binaries β€” is Wilhelm Noeker, <wnoeker@t-online.de>. πŸ’Œ

Unix manpages (including this one) and makefile are maintained by Miros/law L. Baran <baran@debian.org>. πŸ“

This manual page uses many excerpts from the original README file. (citation, but make it cute πŸŽ€)


aaaand that's the whole page, bestie!! this one's from May 19, 2001, the COOKIETOOL(6) page, Games Manual section β€” hope it slayed, go sort those cookies. πŸ’–βœ¨πŸ“