aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bus-wait.1
blob: 42d176e10c26cf4a5fa84cb3c22d1e888a5efaa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.TH BUS-WAIT 1 BUS-%VERSION%
.SH NAME
bus wait - Listen for one new message only on a bus
.SH SYNOPSIS
.B bus wait
.IR pathname
.IR command
.SH DESCRIPTION
Listen for one new message on the bus associated
with \fIpathname\fP, and stop listening once a
message has been received. Once a message is
received \fIcommand\fP will be spawned with
\fI$arg\fP set to the received message.
POSIX shell syntax applies to \fIcommand\fP.
.SH EXIT STATUS
.TP
0
The command was successful.
.TP
1
The command failed.
.TP
2
The command is not recognised.
.SH SEE ALSO
bus(5)
.SH AUTHORS
See the LICENSE file for the authors.
.SH LICENSE
See the LICENSE file for the terms of redistribution.
.SH BUGS
Please report them.