1
0

plumb 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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 /usr/$user/lib/plumbing
  80. .TP
  81. .B /usr/$user/lib/plumbing
  82. default rules file
  83. .TP
  84. .B /mnt/plumb
  85. mount point for
  86. .IR plumber (4).
  87. .SH SOURCE
  88. .B /sys/src/cmd/plumb
  89. .SH "SEE ALSO"
  90. .IR plumb (2),
  91. .IR plumber (4),
  92. .IR plumb (6)