Man Linux: Main Page and Category List


       cookietool - program to operate cookie (fortune) database


       cookietool [options] <database>


       This manual page documents briefly the cookietool command.

       This  manual  page  was  written  for the Debian GNU/Linux distribution
       because the original program does not have a manual page.  Instead,  it
       has some plaintext documentation, see below.

       cookietool is a program that should be used to sort, clear and maintain
       cookie database in standard fortune(6) format,  i.e.  list  of  cookies
       delimited  with line containing a single percent (’%’) char. cookietool
       can now understand another formats and convert cookie database  between


       A summary of options is included below. For a complete description, see
       the documentation in /usr/share/doc/cookietool directory

              Shows summary of options.

       -c     case sensitive comparisons.

              how fussy about word delimiters? (default: 2)

       -b     delete cookies that are ’abbreviations’ of another, too.

       -p     passive, don’t delete anything.

              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).

              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.

              force output in a different file format, see -f.

       -o     overwrite directly without temporary file. CAUTION NEEDED.


       cdbdiff(6), cdbsplit(6)


       None known.


       Upstream author and Aminet cookietool.lha package with AmigaOS binaries
       uploader  is  Wilhelm  Noeker,  <>.  Unix   manpages
       (including  this one) and makefile are maintained by Miros/law L. Baran
       <>. This  manual  page  uses  many  excerpts  from  the
       original README file.

                                 May 19, 2001