The dcacheget program
dcacheget - print selected records of CACHE to the standard output.
SYNOPSIS
dcacheget KEY <CACHE
OPTIONS
-
-a, --all
-
Print all records with the same key.
Use the --separator option to select a record separator
sequence, and the --escape option to select an escape
character.
-
-e, --escape=CHAR
-
Select a escape character.
The escape character is used to escape the starting
character of the separator sequence and defaults to
a backslash (\\). If the key contains the escape
character it will be duplicated.
-
-n, --record-number=NUMBER
-
Find the n'th record with the key.
Use this to find all records with the same key.
-
-s, --separator=STRING
-
Select a sepatator sequence.
The sequence is used to separate multiple records
and may be as long as you want.
The default sequence is the empty string.
-
--see-also
-
Where to find related information.
-
--examples
-
Usage examples.
-
--version
-
Show version: dcacheget (dcache) 0.6.1-beta2.
-
--help
-
Show a list of options or the long help on one.
The use with an argument shows the long help text
of that option, without an argument it will list
all options.
-
--longhelp
-
Show longer help texts for all or one option.
EXAMPLES
dcacheget '4711' <cache
Prints the first record associoated with 4711 to the standard output.
dcacheget -n 3 '4711' <cache
Prints the third record associoated with 4711 to the standard output.
dcacheget -a '4711' <cache
Print all records associoated with 4711 to the standard output.
COPYRIGHT
Copyright (C) 2003,2004,2005 Uwe Ohse.
The software comes with NO WARRANTY, to the extent permitted by law.
This package is published under the terms of the GNU General Public License
version 2. Later versions of the GPL may or may not apply, see
http://www.ohse.de/uwe/licenses/
AUTHOR
Uwe Ohse, <uwe@ohse.de>.
MORE INFORMATION
Report bugs to dcache@lists.ohse.de
SEE ALSO
dcachedump(1) dumps the content of a dcache.
dcache_intro(7) is the introduction to dcache.
The dcache homepage is at http://www.ohse.de/uwe/dcache.html