rsc | cfa37a7 | 2004-04-10 18:53:55 +0000 | [diff] [blame] | 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 |
rsc | c8b6342 | 2005-01-13 04:49:19 +0000 | [diff] [blame] | 79 | .TF $HOME/lib/plumbing |
rsc | cfa37a7 | 2004-04-10 18:53:55 +0000 | [diff] [blame] | 80 | .TP |
rsc | c8b6342 | 2005-01-13 04:49:19 +0000 | [diff] [blame] | 81 | .B $HOME/lib/plumbing |
rsc | cfa37a7 | 2004-04-10 18:53:55 +0000 | [diff] [blame] | 82 | default rules file |
rsc | cfa37a7 | 2004-04-10 18:53:55 +0000 | [diff] [blame] | 83 | .SH SOURCE |
rsc | c3674de | 2005-01-11 17:37:33 +0000 | [diff] [blame] | 84 | .B \*9/src/cmd/plumb |
rsc | cfa37a7 | 2004-04-10 18:53:55 +0000 | [diff] [blame] | 85 | .SH "SEE ALSO" |
rsc | 058b011 | 2005-01-03 06:40:20 +0000 | [diff] [blame] | 86 | .IR plumb (3), |
rsc | cfa37a7 | 2004-04-10 18:53:55 +0000 | [diff] [blame] | 87 | .IR plumber (4), |
rsc | 058b011 | 2005-01-03 06:40:20 +0000 | [diff] [blame] | 88 | .IR plumb (7) |