
dkpref - Preference tool
========================

Usage
-----

dkpref [<options>] <key>

	Retrieves the value of a preference.

dkpref [<options>] <key> <value>

	Sets a value for a preference.


Options
-------

-a <name>	sets the application name to use.

-g <name>	sets the application group name to use.

-m		runs macro expansion.

-p		runs path name correction (slash/backslash).


Examples
--------

dkpref -a stc /dir/temp

	retrieves the value of the ``/dir/temp'' preference for the
	``stc'' application without macro expansion.

dkpref -a stc -m /dir/temp

	retrieves the value of the ``/dir/temp'' preference for the
	``stc'' application and expands macros.

dkpref -a stc -m -p /dir/temp

	retrieves the value of the ``/dir/temp preference'' for the ``stc''
	application, macros are expanded and a slash/backslash correction
	is done.

dkpref -a foo /any/preference bar

	sets the value of the preference ``/any/preference'' to ``bar'' for the
	application ``foo''.


