Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cookietool(6) [debian man page]

COOKIETOOL(6)							   Games Manual 						     COOKIETOOL(6)

NAME
cookietool - program to operate cookie (fortune) database SYNOPSIS
cookietool [options] <database> DESCRIPTION
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 them. OPTIONS
A summary of options is included below. For a complete description, see the documentation in /usr/share/doc/cookietool directory [nothing] Shows summary of options. -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. -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. SEE ALSO
cdbdiff(6), cdbsplit(6) BUGS
None known. AUTHOR
Upstream author and Aminet cookietool.lha package with AmigaOS binaries uploader 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. May 19, 2001 COOKIETOOL(6)

Check Out this Related Man Page

Dancer::Cookies(3pm)					User Contributed Perl Documentation				      Dancer::Cookies(3pm)

NAME
Dancer::Cookies - a singleton storage for all cookies SYNOPSIS
use Dancer::Cookies; my $cookies = Dancer::Cookies->cookies; foreach my $name ( keys %{$cookies} ) { my $cookie = $cookies->{$name}; my $value = $cookie->value; print "$name => $value "; } cookie lang => "fr-FR"; #set a cookie and return its value cookie lang => "fr-FR", expires => "2 hours"; cookie "lang" #return a cookie value DESCRIPTION
Dancer::Cookies keeps all the cookies defined by the application and makes them accessible and provides a few helper functions for cookie handling with regards to the stored cookies. METHODS
init This method is called when "->new()" is called. It creates a storage of cookies parsed from the environment using "parse_cookies_from_env" described below. cookies Returns a hash reference of all cookies, all objects of Dancer::Cookie type. The key is the cookie name, the value is the Dancer::Cookie object. cookie "cookie" method is useful to query or set cookies easily. cookie lang => "fr-FR"; # set a cookie and return its value cookie lang => "fr-FR", expires => "2 hours"; # extra cookie info cookie "lang" # return a cookie value parse_cookie_from_env Fetches all the cookies from the environment, parses them and creates a hashref of all cookies. It also returns all the hashref it created. AUTHOR
Alexis Sukrieh LICENSE AND COPYRIGHT
Copyright 2009-2010 Alexis Sukrieh. This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information. perl v5.14.2 2012-01-28 Dancer::Cookies(3pm)
Man Page