DREAD(1)DREAD(1)NAMEdread - read from the defaults database
SYNOPSISdread-l
dread [ owner ] name
dread-g name
dread-n name
dread-o owner
DESCRIPTIONdread looks through the user's defaults database for a variable and its
associated value, and outputs this information to the standard output.
owner is the application associated with the variable name (owner may
instead have the value ``GLOBAL'' or ``System'').
The -l option displays all the variables and default values in the
database. To display a subset of the database, other options can be
used instead:
dread [ owner ] name
Searches for owner's value for the variable. If no owner
application is specified, the owner GLOBAL is searched.
dread-g name
Searches the owner GLOBAL for a value of the variable. This is
the same as using the previous option with no owner specified.
dread-n name
Searches all possible owners for a value of the variable.
dread-o owner
Searches the specifed owner application for the values of all
its variables.
The owner, name, and value fields output by dread are separated by
spaces, so that those values can be used as input to dwrite. For
example:
dread-l | sed s/Ohlfs/Helvetica/ | dwrite
SEE ALSOdwrite(1), dremove(1)NeXT Computer, Inc. February 28, 1989 DREAD(1)