blob: 3fa162524f8d3fd7027ddc330295a6602dea1d58 [file] [log] [blame]
rsccfa37a72004-04-10 18:53:55 +00001.TH PLUMB 1
2.SH NAME
3plumb \- send message to plumber
4.SH SYNOPSIS
5.B plumb
6[
7.B -p
8.I plumbfile
9] [
10.B -a
11.I attributes
12] [
13.B -s
14.I source
15] [
16.B -d
17.I destination
18] [
19.B -t
20.I type
21] [
22.B -w
23.I directory
24]
25.B -i
26|
27.I data...
28.SH DESCRIPTION
29The
30.I plumb
31command formats and sends a plumbing message whose data
32is, by default, the concatenation of the argument strings separated by blanks.
33The options are:
34.TP
35.B -p
36write the message to
37.I plumbfile
38(default
39.BR /mnt/plumb/send ).
40.TP
41.B -a
42set the
43.B attr
44field of the message (default is empty).
45.TP
46.B -s
47set the
48.B src
49field of the message (default is
50.BR plumb ).
51.TP
52.B -d
53set the
54.B dst
55field of the message (default is empty).
56.TP
57.B -t
58set the
59.B type
60field of the message (default is
61.BR text ).
62.TP
63.B -w
64set the
65.B wdir
66field of the message (default is the current working directory of
67.IR plumb ).
68.TP
69.B -i
70take the data from standard input rather than the argument strings.
71If an
72.B action=
73attribute is not otherwise specified,
74.I plumb
75will add an
76.B action=showdata
77attribute to the message.
78.SH FILES
rscc8b63422005-01-13 04:49:19 +000079.TF $HOME/lib/plumbing
rsccfa37a72004-04-10 18:53:55 +000080.TP
rscc8b63422005-01-13 04:49:19 +000081.B $HOME/lib/plumbing
rsccfa37a72004-04-10 18:53:55 +000082default rules file
rsccfa37a72004-04-10 18:53:55 +000083.SH SOURCE
rscc3674de2005-01-11 17:37:33 +000084.B \*9/src/cmd/plumb
rsccfa37a72004-04-10 18:53:55 +000085.SH "SEE ALSO"
rsc058b0112005-01-03 06:40:20 +000086.IR plumb (3),
rsccfa37a72004-04-10 18:53:55 +000087.IR plumber (4),
rsc058b0112005-01-03 06:40:20 +000088.IR plumb (7)