2015-05-23 17:19:29 +02:00
|
|
|
.TH wdread 1 "April 2015"
|
2011-08-16 11:56:02 +02:00
|
|
|
.SH "NAME"
|
|
|
|
|
\fBwdread\fR \- read value from defaults database
|
|
|
|
|
.PP
|
|
|
|
|
.SH "SYNOPSIS"
|
2015-04-06 17:57:58 +02:00
|
|
|
.B wdread
|
|
|
|
|
.RI [ options ]
|
|
|
|
|
.I domain
|
|
|
|
|
.I key
|
2011-08-16 11:56:02 +02:00
|
|
|
.PP
|
|
|
|
|
.SH "DESCRIPTION"
|
2015-04-06 17:57:58 +02:00
|
|
|
\fBwdread\fR\ gets the value associated with the key \fIkey\fR from the domain \fIdomain\fR
|
|
|
|
|
and prints it on stdout.
|
2011-08-16 11:56:02 +02:00
|
|
|
.PP
|
|
|
|
|
.SH "OPTIONS"
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-help
|
2015-04-06 17:57:58 +02:00
|
|
|
print a help message with the list of options
|
2011-08-16 11:56:02 +02:00
|
|
|
.TP
|
|
|
|
|
.B \-\-version
|
2015-04-06 17:57:58 +02:00
|
|
|
print the version of Window Maker from which the program comes
|
|
|
|
|
.PP
|
|
|
|
|
.SH "EXIT STATUS"
|
|
|
|
|
The program \fBwdread\fP will exit with the following code:
|
2011-08-16 11:56:02 +02:00
|
|
|
.TP
|
2015-04-06 17:57:58 +02:00
|
|
|
.B 0
|
|
|
|
|
when the \fIkey\fP was successfully found and its content printed.
|
2011-08-16 11:56:02 +02:00
|
|
|
.TP
|
2015-04-06 17:57:58 +02:00
|
|
|
.B 1
|
|
|
|
|
if the program was not invoked properly (unknown option or incorrect argument count).
|
|
|
|
|
.TP
|
|
|
|
|
.B 1
|
|
|
|
|
if the \fIdomain\fP's file could not be read (probably nonexistent domain).
|
|
|
|
|
.TP
|
|
|
|
|
.B 2
|
|
|
|
|
if the \fIkey\fP was not found in the \fIdomain\fP.
|
2015-05-23 17:19:29 +02:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
|
.BR wdwrite (1),
|
|
|
|
|
.BR wmaker (1)
|
2011-08-16 11:56:02 +02:00
|
|
|
.SH "AUTHOR"
|
|
|
|
|
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.info>,
|
|
|
|
|
wdread is a part of Window Maker, was cowardly remade from wdwrite.c;
|
|
|
|
|
by judas@hell on Jan 26 2001
|
|
|
|
|
.PP
|
|
|
|
|
This manpage was written by Rodolfo García Peñas (kix) for the
|
|
|
|
|
Debian GNU/Linux system (but may be used by others).
|