DREAD

Section: User Commands (1)
Updated: February 28, 1989
Index Return to Main Contents
 

NAME

dread - read from the defaults database  

SYNOPSIS

dread -l
dread [ owner ] name
dread -g name
dread -n name
dread -o owner

 

DESCRIPTION

dread 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 ALSO

dwrite(1), dremove(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 01:00:12 GMT, September 26, 2024