Update Serbian translation from master branch
[wmaker-crm.git] / doc / wdread.1
blob92c9dc09f3bfa6d1777c0ddfa33ac6d2e214718a
1 .TH wdread 1 "April 2015"
2 .SH "NAME"
3 \fBwdread\fR \- read value from defaults database
4 .PP
5 .SH "SYNOPSIS"
6 .B wdread
7 .RI [ options ]
8 .I domain
9 .I key
10 .PP
11 .SH "DESCRIPTION"
12 \fBwdread\fR\ gets the value associated with the key \fIkey\fR from the domain \fIdomain\fR
13 and prints it on stdout.
14 .PP
15 .SH "OPTIONS"
16 .TP
17 .B \-\-help
18 print a help message with the list of options
19 .TP
20 .B \-\-version
21 print the version of Window Maker from which the program comes
22 .PP
23 .SH "EXIT STATUS"
24 The program \fBwdread\fP will exit with the following code:
25 .TP
26 .B 0
27 when the \fIkey\fP was successfully found and its content printed.
28 .TP
29 .B 1
30 if the program was not invoked properly (unknown option or incorrect argument count).
31 .TP
32 .B 1
33 if the \fIdomain\fP's file could not be read (probably nonexistent domain).
34 .TP
35 .B 2
36 if the \fIkey\fP was not found in the \fIdomain\fP.
37 .SH "SEE ALSO"
38 .BR wdwrite (1),
39 .BR wmaker (1)
40 .SH "AUTHOR"
41 Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.info>,
42 wdread is a part of Window Maker, was  cowardly remade from wdwrite.c;
43 by judas@hell on Jan 26 2001
44 .PP
45 This manpage was written by Rodolfo García Peñas (kix) for the
46 Debian GNU/Linux system (but may be used by others).