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

CURLOPT_COOKIEFILE(3)					     curl_easy_setopt options					     CURLOPT_COOKIEFILE(3)

NAME
CURLOPT_COOKIEFILE - file name to read cookies from SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_COOKIEFILE, char *filename); DESCRIPTION
Pass a pointer to a zero terminated string as parameter. It should point to the file name of your file holding cookie data to read. The cookie data can be in either the old Netscape / Mozilla cookie data format or just regular HTTP headers (Set-Cookie style) dumped to a file. It also enables the cookie engine, making libcurl parse and send cookies on subsequent requests with this handle. Given an empty or non-existing file or by passing the empty string ("") to this option, you can enable the cookie engine without reading any initial cookies. This option only reads cookies. To make libcurl write cookies to file, see CURLOPT_COOKIEJAR(3). Exercise caution if you are using this option and multiple transfers may occur. If you use the Set-Cookie format and don't specify a domain then the cookie is sent for any domain (even after redirects are followed) and cannot be modified by a server-set cookie. If a server sets a cookie of the same name then both will be sent on a future transfer to that server, likely not what you intended. To address these issues set a domain in Set-Cookie (doing that will include sub-domains) or use the Netscape format. If you use this option multiple times, you just add more files to read. Subsequent files will add more cookies. The application does not have to keep the string around after setting this option. DEFAULT
NULL PROTOCOLS
HTTP EXAMPLE
TODO AVAILABILITY
As long as HTTP is supported RETURN VALUE
Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_COOKIE(3), CURLOPT_COOKIEJAR(3), libcurl 7.54.0 December 21, 2016 CURLOPT_COOKIEFILE(3)
Man Page