Blob


1 .TH PLUMB 1
2 .SH NAME
3 plumb \- 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
29 The
30 .I plumb
31 command formats and sends a plumbing message whose data
32 is, by default, the concatenation of the argument strings separated by blanks.
33 The options are:
34 .TP
35 .B -p
36 write the message to
37 .I plumbfile
38 (default
39 .BR /mnt/plumb/send ).
40 .TP
41 .B -a
42 set the
43 .B attr
44 field of the message (default is empty).
45 .TP
46 .B -s
47 set the
48 .B src
49 field of the message (default is
50 .BR plumb ).
51 .TP
52 .B -d
53 set the
54 .B dst
55 field of the message (default is empty).
56 .TP
57 .B -t
58 set the
59 .B type
60 field of the message (default is
61 .BR text ).
62 .TP
63 .B -w
64 set the
65 .B wdir
66 field of the message (default is the current working directory of
67 .IR plumb ).
68 .TP
69 .B -i
70 take the data from standard input rather than the argument strings.
71 If an
72 .B action=
73 attribute is not otherwise specified,
74 .I plumb
75 will add an
76 .B action=showdata
77 attribute to the message.
78 .SH FILES
79 .TF $HOME/lib/plumbing
80 .TP
81 .B $HOME/lib/plumbing
82 default rules file
83 .SH SOURCE
84 .B \*9/src/cmd/plumb
85 .SH "SEE ALSO"
86 .MR plumb (3) ,
87 .MR plumber (4) ,
88 .MR plumb (7)